From 0e18483336d60bcc644a2fcd9365d7981d42a170 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 2 Apr 1993 00:50:30 +0000 Subject: [PATCH] * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section): ifdef protect using BAD_RICH_HACK. This should be removed soon. * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define. --- gdb/ChangeLog | 6 ++++++ gdb/config/sparc/tm-sun4sol2.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index add428204b..408f1c1dd1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section): + ifdef protect using BAD_RICH_HACK. This should be removed soon. + * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define. + Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com) * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a. diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h index a95ef3bd6b..3208a9cefb 100644 --- a/gdb/config/sparc/tm-sun4sol2.h +++ b/gdb/config/sparc/tm-sun4sol2.h @@ -23,6 +23,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef IN_SOLIB_TRAMPOLINE #define IN_SOLIB_TRAMPOLINE(pc, name) in_solib_trampoline((pc), (name)) +/* BAD_RICH_HACK is a bad hack. What needs to happen here is for + sections to move out of the solib structures and into objfiles. + I'm working on this. FIXME. 1apr93 rich@cygnus.com. */ + +#define BAD_RICH_HACK + /* The values of N_SLINE, N_LBRAC, N_RBRAC symbols in .stab sections are relative to the current function, rather than being absolute or relative to the current N_SO. */ -- 2.34.1