diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-02-14 15:46:33 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-02-14 15:46:33 +0000 |
commit | 9ab9195f183692346cff01bbe15e77774ef1d608 (patch) | |
tree | f3f7314d2e74a17d9c705d527326f2560e442463 /gdb/solib-irix.c | |
parent | 2004-02-14 Andrew Cagney <cagney@redhat.com> (diff) | |
download | binutils-gdb-9ab9195f183692346cff01bbe15e77774ef1d608.tar.gz binutils-gdb-9ab9195f183692346cff01bbe15e77774ef1d608.tar.bz2 binutils-gdb-9ab9195f183692346cff01bbe15e77774ef1d608.zip |
2004-02-14 Elena Zannoni <ezannoni@redhat.com>
* symfile.c (init_entry_point_info, entry_point_address): Move
from here...
* objfiles.c (init_entry_point_info, entry_point_address):..to
here.
* symfile.h (init_entry_point_info, entry_point_address): Remove
prototypes.
* objfiles.h (init_entry_point_info, entry_point_address):Add
prototypes.
* cris-tdep.c: Remove include of symfile.h. Add include of
objfiles.h.
* infcall.c: Ditto.
* mcore-tdep.c: Ditto.
* mn10300-tdep.c: Ditto.
* sh64-tdep.c: Ditto.
* v850-tdep.c: Ditto.
* arm-tdep.c: Remove include of symfile.h.
* blockframe.c: Ditto.
* coffread.c: Ditto.
* dbxread.c: Ditto.
* dwarf2read.c: Ditto.
* dwarfread.c: Ditto.
* frv-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* mdebugread.c: Ditto.
* mipsread.c: Ditto.
* rs6000-tdep.c: Ditto.
* s390-tdep.c: Ditto.
* sh-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
* gdbarch.sh: Remove include of symfile.h.
* gdbarch.c: Regenerate.
* solib-irix.c (enable_break): Use entry_point_address().
Add comment about include file.
* xcoffread.c: Add comment about include file.
* Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
(dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
(ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
(mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
(sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/solib-irix.c')
-rw-r--r-- | gdb/solib-irix.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 8400ad3a006..aaf8338bb25 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -1,5 +1,5 @@ /* Shared library support for IRIX. - Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 + Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. This file was created using portions of irix5-nat.c originally @@ -26,6 +26,8 @@ #include "symtab.h" #include "bfd.h" +/* FIXME: ezannoni/2004-02-13 Verify that the include below is + really needed. */ #include "symfile.h" #include "objfiles.h" #include "gdbcore.h" @@ -355,10 +357,10 @@ static int enable_break (void) { if (symfile_objfile != NULL - && target_insert_breakpoint (symfile_objfile->ei.entry_point, + && target_insert_breakpoint (entry_point_address (), shadow_contents) == 0) { - breakpoint_addr = symfile_objfile->ei.entry_point; + breakpoint_addr = entry_point_address (); return 1; } |