diff options
author | Stu Grossman <grossman@cygnus> | 1992-03-24 07:02:52 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-03-24 07:02:52 +0000 |
commit | 62a469e129b32e32bb0409d2632d3ccaf1f61144 (patch) | |
tree | f1854c293657de0eeea0669d21cde20c3c8606ee /gdb/mips-tdep.c | |
parent | 2b7eef3c578ce8607194e1dafaeb543674a56d68 (diff) | |
download | gdb-62a469e129b32e32bb0409d2632d3ccaf1f61144.zip gdb-62a469e129b32e32bb0409d2632d3ccaf1f61144.tar.gz gdb-62a469e129b32e32bb0409d2632d3ccaf1f61144.tar.bz2 |
* mips-tdep.c: include symfile.h and objfiles.h to fix
compilation errors.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 134bc74..2a21b88 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -43,6 +43,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #include "gdbcore.h" +#include "symfile.h" +#include "objfiles.h" #ifndef MIPSMAGIC #ifdef MIPSEL @@ -287,7 +289,7 @@ FRAME_ADDR mips_frame_chain(frame) { mips_extra_func_info_t proc_desc; CORE_ADDR saved_pc = FRAME_SAVED_PC(frame); - if (current_objfile -> ei.entry_file_lowpc) + if (current_objfile->ei.entry_file_lowpc) { /* has at least the __start symbol */ if (saved_pc == 0 || inside_entry_file (saved_pc)) return 0; } |