diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-02-08 06:03:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-02-08 06:03:54 +0000 |
commit | e81bf4c251d2ca17d1c28e3034af58e228784911 (patch) | |
tree | b9c418932d84adff70a9756bac8ddfd3ff4c525f /gdb/symtab.h | |
parent | 1b4edd613c68eb1c357bfe780fbd5ff2c1c71ba9 (diff) | |
download | gdb-e81bf4c251d2ca17d1c28e3034af58e228784911.tar.gz |
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index bacf9b3e24b..c7f52a7d702 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -828,8 +828,9 @@ struct section_offsets }; #define ANOFFSET(secoff, whichone) \ - ((whichone == -1) ? \ - (internal_error ("Section index is uninitialized"), -1) : secoff->offsets[whichone]) + ((whichone == -1) \ + ? (internal_error (__FILE__, __LINE__, "Section index is uninitialized"), -1) \ + : secoff->offsets[whichone]) /* The maximum possible size of a section_offsets table. */ |