mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
* tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
mips-tfile has been hacked to act more "traditionally." * dbxread.c: Fixed typo in comment.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
|
||||||
|
|
||||||
|
* tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
|
||||||
|
mips-tfile has been hacked to act more "traditionally."
|
||||||
|
* dbxread.c: Fixed typo in comment.
|
||||||
|
|
||||||
Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
|
Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
|
||||||
|
|
||||||
* mips-tdep.c (mips_skip_prologue): Add some number of
|
* mips-tdep.c (mips_skip_prologue): Add some number of
|
||||||
|
@ -117,6 +117,11 @@ static void dbx_psymtab_to_symtab ();
|
|||||||
#define GCC_COMPILED_FLAG_SYMBOL "gcc_compiled."
|
#define GCC_COMPILED_FLAG_SYMBOL "gcc_compiled."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Macro for name of symbol to indicate a file compiled with gcc2. */
|
||||||
|
#ifndef GCC2_COMPILED_FLAG_SYMBOL
|
||||||
|
#define GCC2_COMPILED_FLAG_SYMBOL "gcc2_compiled."
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define this as 1 if a pcc declaration of a char or short argument
|
/* Define this as 1 if a pcc declaration of a char or short argument
|
||||||
gives the correct address. Otherwise assume pcc gives the
|
gives the correct address. Otherwise assume pcc gives the
|
||||||
address of the corresponding int, which is not the same on a
|
address of the corresponding int, which is not the same on a
|
||||||
@ -1211,8 +1216,8 @@ read_ofile_symtab (objfile, stringtab, stringtab_size, sym_offset,
|
|||||||
|
|
||||||
processing_gcc_compilation =
|
processing_gcc_compilation =
|
||||||
(bufp->n_type == N_TEXT
|
(bufp->n_type == N_TEXT
|
||||||
&& !strcmp (namestring, GCC_COMPILED_FLAG_SYMBOL));
|
&& (strcmp (namestring, GCC_COMPILED_FLAG_SYMBOL) == 0
|
||||||
/* FIXME!!! Check for gcc2_compiled... */
|
|| strcmp(namestring, GCC2_COMPILED_FLAG_SYMBOL) == 0));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1265,7 +1270,8 @@ read_ofile_symtab (objfile, stringtab, stringtab_size, sym_offset,
|
|||||||
/* We skip checking for a new .o or -l file; that should never
|
/* We skip checking for a new .o or -l file; that should never
|
||||||
happen in this routine. */
|
happen in this routine. */
|
||||||
else if (type == N_TEXT
|
else if (type == N_TEXT
|
||||||
&& !strcmp (namestring, GCC_COMPILED_FLAG_SYMBOL))
|
&& (strcmp (namestring, GCC_COMPILED_FLAG_SYMBOL) == 0
|
||||||
|
|| strcmp (namestring, GCC2_COMPILED_FLAG_SYMBOL) == 0))
|
||||||
/* I don't think this code will ever be executed, because
|
/* I don't think this code will ever be executed, because
|
||||||
the GCC_COMPILED_FLAG_SYMBOL usually is right before
|
the GCC_COMPILED_FLAG_SYMBOL usually is right before
|
||||||
the N_SO symbol which starts this source file.
|
the N_SO symbol which starts this source file.
|
||||||
@ -1322,7 +1328,7 @@ process_one_symbol (type, desc, valu, name)
|
|||||||
char *name;
|
char *name;
|
||||||
{
|
{
|
||||||
#ifndef SUN_FIXED_LBRAC_BUG
|
#ifndef SUN_FIXED_LBRAC_BUG
|
||||||
/* This records the last pc address we've seen. We depend on their being
|
/* This records the last pc address we've seen. We depend on there being
|
||||||
an SLINE or FUN or SO before the first LBRAC, since the variable does
|
an SLINE or FUN or SO before the first LBRAC, since the variable does
|
||||||
not get reset in between reads of different symbol files. */
|
not get reset in between reads of different symbol files. */
|
||||||
static CORE_ADDR last_pc_address;
|
static CORE_ADDR last_pc_address;
|
||||||
@ -1431,7 +1437,8 @@ process_one_symbol (type, desc, valu, name)
|
|||||||
/* Some compilers put the variable decls inside of an
|
/* Some compilers put the variable decls inside of an
|
||||||
LBRAC/RBRAC block. This macro should be nonzero if this
|
LBRAC/RBRAC block. This macro should be nonzero if this
|
||||||
is true. DESC is N_DESC from the N_RBRAC symbol.
|
is true. DESC is N_DESC from the N_RBRAC symbol.
|
||||||
GCC_P is true if we've detected the GCC_COMPILED_SYMBOL. */
|
GCC_P is true if we've detected the GCC_COMPILED_SYMBOL
|
||||||
|
or the GCC2_COMPILED_SYMBOL. */
|
||||||
#if !defined (VARIABLES_INSIDE_BLOCK)
|
#if !defined (VARIABLES_INSIDE_BLOCK)
|
||||||
#define VARIABLES_INSIDE_BLOCK(desc, gcc_p) 0
|
#define VARIABLES_INSIDE_BLOCK(desc, gcc_p) 0
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,10 +31,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
/*#define NAMES_HAVE_UNDERSCORE*/
|
/*#define NAMES_HAVE_UNDERSCORE*/
|
||||||
|
|
||||||
/* Address of blocks in N_LBRAC and N_RBRAC symbols are absolute addresses,
|
|
||||||
not relative to start of source address. */
|
|
||||||
#define BLOCK_ADDRESS_ABSOLUTE
|
|
||||||
|
|
||||||
/* Debugger information will be in mips' format */
|
/* Debugger information will be in mips' format */
|
||||||
|
|
||||||
#define READ_MIPS_FORMAT
|
#define READ_MIPS_FORMAT
|
||||||
|
Reference in New Issue
Block a user