* mips-tdep.c: include symfile.h and objfiles.h to fix
compilation errors.
This commit is contained in:
parent
2b7eef3c57
commit
62a469e129
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com)
|
||||||
|
|
||||||
|
* mips-tdep.c: include symfile.h and objfiles.h to fix
|
||||||
|
compilation errors.
|
||||||
|
|
||||||
Mon Mar 23 15:49:14 1992 Per Bothner (bothner@cygnus.com)
|
Mon Mar 23 15:49:14 1992 Per Bothner (bothner@cygnus.com)
|
||||||
|
|
||||||
* valops.c (value_struct_elt_for_reference): Added 'offset'
|
* valops.c (value_struct_elt_for_reference): Added 'offset'
|
||||||
|
|
|
@ -43,6 +43,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
|
#include "symfile.h"
|
||||||
|
#include "objfiles.h"
|
||||||
|
|
||||||
#ifndef MIPSMAGIC
|
#ifndef MIPSMAGIC
|
||||||
#ifdef MIPSEL
|
#ifdef MIPSEL
|
||||||
|
@ -287,7 +289,7 @@ FRAME_ADDR mips_frame_chain(frame)
|
||||||
{
|
{
|
||||||
mips_extra_func_info_t proc_desc;
|
mips_extra_func_info_t proc_desc;
|
||||||
CORE_ADDR saved_pc = FRAME_SAVED_PC(frame);
|
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 */
|
{ /* has at least the __start symbol */
|
||||||
if (saved_pc == 0 || inside_entry_file (saved_pc)) return 0;
|
if (saved_pc == 0 || inside_entry_file (saved_pc)) return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue