aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1996-01-04 19:07:28 +0000
committerSteve Chamberlain <sac@cygnus>1996-01-04 19:07:28 +0000
commit1750a5ef21ab77772e1aa396d9483afb8177fc8c (patch)
tree10fda53453460db4a4b1707c079dc5b53d77552b /gdb/symfile.c
parent3389dfdcc06b997c3a783a31c3ded0113fee46f6 (diff)
downloadgdb-1750a5ef21ab77772e1aa396d9483afb8177fc8c.zip
gdb-1750a5ef21ab77772e1aa396d9483afb8177fc8c.tar.gz
gdb-1750a5ef21ab77772e1aa396d9483afb8177fc8c.tar.bz2
* mdebugread.c (mylookup_symbol): enum namespace becomes
enum_namespace type. * symfile.c (add_psymbol_to_list) (add_psymbol_addr_to_list): Ditto. * symtab.c (lookup_partial_symbol): Ditto. (lookup_symbol): Ditto. (lookup_block_symbol): Ditto. * win32-nat.c (handle_load_dll): Use incoming dll base. (child_wait): Catch DLL load errors. (create_child_inferior): Translated between paths correctly.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index e0848cc..dd10f5f 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -858,8 +858,9 @@ find_sym_fns (objfile)
enum bfd_flavour our_flavour = bfd_get_flavour (objfile -> obfd);
char *our_target = bfd_get_target (objfile -> obfd);
- /* Special kludge for RS/6000. See xcoffread.c. */
- if (STREQ (our_target, "aixcoff-rs6000"))
+ /* Special kludge for RS/6000 and PowerMac. See xcoffread.c. */
+ if (STREQ (our_target, "aixcoff-rs6000") ||
+ STREQ (our_target, "xcoff-powermac"))
our_flavour = (enum bfd_flavour)-1;
/* Special kludge for apollo. See dstread.c. */
@@ -1626,7 +1627,7 @@ add_psymbol_to_list (name, namelength, namespace, class, list, val, language,
objfile)
char *name;
int namelength;
- enum namespace namespace;
+ namespace_enum namespace;
enum address_class class;
struct psymbol_allocation_list *list;
long val;
@@ -1662,7 +1663,7 @@ add_psymbol_addr_to_list (name, namelength, namespace, class, list, val,
language, objfile)
char *name;
int namelength;
- enum namespace namespace;
+ namespace_enum namespace;
enum address_class class;
struct psymbol_allocation_list *list;
CORE_ADDR val;