* mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific

definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.
This commit is contained in:
John Gilmore 1992-10-21 10:34:07 +00:00
parent b517f12401
commit 84a792c778
1 changed files with 4 additions and 5 deletions

View File

@ -183,12 +183,11 @@ struct complaint pdr_static_symbol_complaint =
(((a) == GLEVEL_3) ? ((b) < GLEVEL_3) : \
((b) == GLEVEL_3) ? -1 : (int)((b) - (a)))
/* When looking at .o files, avoid tripping over bad addresses */
/* When looking at .o files, avoid tripping over zero pointers.
FIXME; places that use this should be fixed to convert from
external to internal format, rather than examining in-place. */
#define SAFE_TEXT_ADDR 0x400000
#define SAFE_DATA_ADDR 0x10000000
#define UNSAFE_DATA_ADDR(p) ((unsigned)p < SAFE_DATA_ADDR || (unsigned)p > 2*SAFE_DATA_ADDR)
#define UNSAFE_DATA_ADDR(p) ((p) == 0)
/* Things that really are local to this module */