diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-02 23:48:37 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-02 23:48:37 +0000 |
commit | a0b3c4fd32cf8336bf7b69f373ef86d5c54035f6 (patch) | |
tree | cf8f31bccdd267252e6b3c9636a1d323397673e2 /gdb/symfile.c | |
parent | 30727aa6d12fb866494020c0b62ab265a2bdcdfe (diff) | |
download | binutils-gdb-a0b3c4fd32cf8336bf7b69f373ef86d5c54035f6.tar.gz |
import gdb-1999-08-02 snapshot
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index fcf8326ee74..42d9e4f867e 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -884,7 +884,7 @@ symbol_file_command (args, from_tty) if (text_relocation == (CORE_ADDR) 0) return; - else if (text_relocation == (CORE_ADDR) - 1) + else if (text_relocation == (CORE_ADDR) -1) { symbol_file_add (name, from_tty, (CORE_ADDR) 0, 1, mapped, readnow, 1, 0); @@ -1313,7 +1313,7 @@ add_symbol_file_command (args, from_tty) else { target_link (name, &text_addr); - if (text_addr == (CORE_ADDR) - 1) + if (text_addr == (CORE_ADDR) -1) error ("Don't know how to get text start location for this file"); } |