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 /gdb/buildsym.c | |
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.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 18 |
1 files changed, 18 insertions, 0 deletions
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': |