diff options
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 3 | ||||
-rw-r--r-- | gdb/mi/mi-getopt.c | 3 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 78688d5..f0af7c9 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -591,8 +591,7 @@ list_args_or_locals (const frame_print_options &fp_opts, name_of_result = "variables"; break; default: - internal_error (__FILE__, __LINE__, - "unexpected what_to_list: %d", (int) what); + internal_error ("unexpected what_to_list: %d", (int) what); } ui_out_emit_list list_emitter (uiout, name_of_result); diff --git a/gdb/mi/mi-getopt.c b/gdb/mi/mi-getopt.c index 8c08216..50c53a0 100644 --- a/gdb/mi/mi-getopt.c +++ b/gdb/mi/mi-getopt.c @@ -33,8 +33,7 @@ mi_getopt_1 (const char *prefix, int argc, char **argv, /* We assume that argv/argc are ok. */ if (*oind > argc || *oind < 0) - internal_error (__FILE__, __LINE__, - _("mi_getopt_long: oind out of bounds")); + internal_error (_("mi_getopt_long: oind out of bounds")); if (*oind == argc) return -1; arg = argv[*oind]; diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 96a847e..028c005 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -225,7 +225,7 @@ mi_ui_out::open (const char *name, ui_out_type type) break; default: - internal_error (__FILE__, __LINE__, _("bad switch")); + internal_error (_("bad switch")); } } @@ -245,7 +245,7 @@ mi_ui_out::close (ui_out_type type) break; default: - internal_error (__FILE__, __LINE__, _("bad switch")); + internal_error (_("bad switch")); } m_suppress_field_separator = false; |