From: John Gilmore Date: Tue, 12 Nov 1991 15:54:27 +0000 (+0000) Subject: * Makefile.in: Add xcoffread.c, xcoffexec.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74f6fb084c0590ca797853569f1bccbf8d46aaa6;p=binutils-gdb.git * Makefile.in: Add xcoffread.c, xcoffexec.c. * xcoffread.c: New file for handling AIX mangled-coff files. * xconfig/rs6000, tconfig/rs6000: New files. * buildsym.c: Add hooks for xcoffread.c. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fdcea0c5dbe..3109a7b824b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Add xcoffread.c, xcoffexec.c. + * xcoffread.c: New file for handling AIX mangled-coff files. + * xconfig/rs6000, tconfig/rs6000: New files. + * buildsym.c: Add hooks for xcoffread.c. + * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h, + xm-rs6000.h: New files. + * xcoffexec.c: New file for handling AIX shared libraries. + Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) * core.c: Minor rewording of message to user containing name of diff --git a/gdb/buildsym.c b/gdb/buildsym.c index e371efa8173..3e573f1b38f 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -716,6 +716,19 @@ end_symtab (end_addr, sort_pending, sort_linevec, objfile) file_symbols is still good). */ cleanup_undefined_types (); + /* Hooks for xcoffread.c */ + if (file_stabs) { + patch_block_stabs (file_symbols, file_stabs); + free (file_stabs); + file_stabs = 0; + } + + if (global_stabs) { + patch_block_stabs (global_symbols, global_stabs); + free (global_stabs); + global_stabs = 0; + } + if (pending_blocks == 0 && file_symbols == 0 && global_symbols == 0) { @@ -1630,6 +1643,11 @@ read_type (pp) return type; } + case '-': /* RS/6000 built-in type */ + (*pp)--; + type = builtin_type (pp); /* (in xcoffread.c) */ + goto after_digits; + case '0': case '1': case '2':