diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-05 23:13:56 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-05 23:13:56 +0000 |
commit | ce8537f129e0aa7823f1e9ff610baea9edd4f9ce (patch) | |
tree | 44c31e9e3ca76fb002295a2ddafc1f6aa9a91a9e /gdb/dwarf2read.c | |
parent | e61b94e5346142170a372e22f687753fcae79595 (diff) | |
download | gdb-ce8537f129e0aa7823f1e9ff610baea9edd4f9ce.tar.gz |
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 85dd111207b..fcebef69235 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1069,7 +1069,7 @@ scan_partial_symbols (info_ptr, objfile, lowpc, highpc) int nesting_level = 1; int has_pc_info; - *lowpc = ((CORE_ADDR) - 1); + *lowpc = ((CORE_ADDR) -1); *highpc = ((CORE_ADDR) 0); while (nesting_level) @@ -1149,7 +1149,7 @@ scan_partial_symbols (info_ptr, objfile, lowpc, highpc) /* If we didn't find a lowpc, set it to highpc to avoid complaints from `maint check'. */ - if (*lowpc == ((CORE_ADDR) - 1)) + if (*lowpc == ((CORE_ADDR) -1)) *lowpc = *highpc; return info_ptr; } @@ -1461,7 +1461,7 @@ read_file_scope (die, objfile) struct objfile *objfile; { unsigned int line_offset = 0; - CORE_ADDR lowpc = ((CORE_ADDR) - 1); + CORE_ADDR lowpc = ((CORE_ADDR) -1); CORE_ADDR highpc = ((CORE_ADDR) 0); struct attribute *attr; char *name = "<unknown>"; @@ -1493,7 +1493,7 @@ read_file_scope (die, objfile) /* If we didn't find a lowpc, set it to highpc to avoid complaints from finish_block. */ - if (lowpc == ((CORE_ADDR) - 1)) + if (lowpc == ((CORE_ADDR) -1)) lowpc = highpc; lowpc += baseaddr; highpc += baseaddr; |