diff options
author | John Gilmore <gnu@cygnus> | 1991-11-12 15:54:27 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-12 15:54:27 +0000 |
commit | 74f6fb084c0590ca797853569f1bccbf8d46aaa6 (patch) | |
tree | 4ecc67b489687a3842c175ef46934d97b454b84b | |
parent | 41abdfbd2de07837ba8088092765154eaa66351d (diff) | |
download | gdb-74f6fb084c0590ca797853569f1bccbf8d46aaa6.zip gdb-74f6fb084c0590ca797853569f1bccbf8d46aaa6.tar.gz gdb-74f6fb084c0590ca797853569f1bccbf8d46aaa6.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/buildsym.c | 18 |
2 files changed, 28 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fdcea0c..3109a7b 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 e371efa..3e573f1 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': |