GDB (xrefs)
Functions
/home/stan/gdb/src/gdb/objc-lang.h File Reference
#include "cp-support.h"

Go to the source code of this file.

Functions

CORE_ADDR lookup_objc_class (struct gdbarch *gdbarch, char *classname)
CORE_ADDR lookup_child_selector (struct gdbarch *gdbarch, char *methodname)
char * objc_demangle (const char *mangled, int options)
int find_objc_msgcall (CORE_ADDR pc, CORE_ADDR *new_pc)
const char * find_imps (const char *method, VEC(const_char_ptr)**symbol_names)
struct valuevalue_nsstring (struct gdbarch *gdbarch, char *ptr, int len)
void start_msglist (void)
void add_msglist (struct stoken *str, int addcolon)
int end_msglist (void)
struct symbollookup_struct_typedef (char *name, const struct block *block, int noerr)

Function Documentation

void add_msglist ( struct stoken str,
int  addcolon 
)

Definition at line 427 of file objc-lang.c.

References len, stoken::length, msglist_len, msglist_sel, p, stoken::ptr, xfree(), and xmalloc().

int end_msglist ( void  )
const char* find_imps ( const char *  method,
VEC(const_char_ptr)**  symbol_names 
)
int find_objc_msgcall ( CORE_ADDR  pc,
CORE_ADDR new_pc 
)

Definition at line 1332 of file objc-lang.c.

References find_objc_msgcall_submethod(), find_objc_msgsend(), and nmethcalls.

Referenced by objc_skip_trampoline().

CORE_ADDR lookup_child_selector ( struct gdbarch gdbarch,
char *  methodname 
)
CORE_ADDR lookup_objc_class ( struct gdbarch gdbarch,
char *  classname 
)
struct symbol* lookup_struct_typedef ( char *  name,
const struct block block,
int  noerr 
) [read]

Definition at line 86 of file objc-lang.c.

References _, error(), lookup_symbol(), STRUCT_DOMAIN, SYMBOL_TYPE, TYPE_CODE, and TYPE_CODE_STRUCT.

Referenced by value_nsstring().

char* objc_demangle ( const char *  mangled,
int  options 
)

Definition at line 223 of file objc-lang.c.

References strchr(), xfree(), and xmalloc().

Referenced by symbol_find_demangled_name().

void start_msglist ( void  )

Definition at line 412 of file objc-lang.c.

References selname::msglist_len, msglist_len, msglist_sel, selname_chain, and xmalloc().

struct value* value_nsstring ( struct gdbarch gdbarch,
char *  ptr,
int  len 
) [read]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines