From 74f6fb084c0590ca797853569f1bccbf8d46aaa6 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 12 Nov 1991 15:54:27 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 10 ++++++++++ gdb/buildsym.c | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+) 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': -- 2.30.2