2011-05-16 Adrian Cornish <gnu@bluedreamer.com>
authorTom Tromey <tromey@redhat.com>
Mon, 16 May 2011 15:59:45 +0000 (15:59 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 16 May 2011 15:59:45 +0000 (15:59 +0000)
* linux-i386-ipa.c (supply_static_tracepoint_registers): Pass
__FILE__ and __LINE__ to internal_error.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-i386-ipa.c

index 9c19d58..ff5f71d 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-16  Adrian Cornish  <gnu@bluedreamer.com>
+
+       * linux-i386-ipa.c (supply_static_tracepoint_registers): Pass
+       __FILE__ and __LINE__ to internal_error.
+
 2011-05-13  Doug Evans  <dje@google.com>
 
        * thread-db.c (try_thread_db_load_from_sdir): New function.
index 86f6a8d..f0eeb4a 100644 (file)
@@ -178,7 +178,7 @@ supply_static_tracepoint_registers (struct regcache *regcache,
            }
            break;
          default:
-           internal_error ("unhandled register size: %d",
+           internal_error (__FILE__, __LINE__, "unhandled register size: %d",
                            i386_st_collect_regmap[i].size);
          }
       }