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/remote-sim.c | |
parent | 1b4edd613c68eb1c357bfe780fbd5ff2c1c71ba9 (diff) | |
download | gdb-e81bf4c251d2ca17d1c28e3034af58e228784911.tar.gz |
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 1976db90676..81baf52b834 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -335,7 +335,8 @@ gdbsim_store_register (int regno) REGISTER_SIM_REGNO (regno), tmp, REGISTER_RAW_SIZE (regno)); if (nr_bytes > 0 && nr_bytes != REGISTER_RAW_SIZE (regno)) - internal_error ("Register size different to expected"); + internal_error (__FILE__, __LINE__, + "Register size different to expected"); if (sr_get_debug ()) { printf_filtered ("gdbsim_store_register: %d", regno); @@ -481,7 +482,8 @@ gdbsim_open (char *args, int from_tty) strcat (arg_buf, " -E little"); break; default: - internal_error ("Value of TARGET_BYTE_ORDER unknown"); + internal_error (__FILE__, __LINE__, + "Value of TARGET_BYTE_ORDER unknown"); } } /* Specify the architecture of the target when it has been |