diff options
Diffstat (limited to 'gdb/mi/mi-getopt.c')
-rw-r--r-- | gdb/mi/mi-getopt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mi/mi-getopt.c b/gdb/mi/mi-getopt.c index 74cbd67..e871920 100644 --- a/gdb/mi/mi-getopt.c +++ b/gdb/mi/mi-getopt.c @@ -33,7 +33,8 @@ mi_getopt (const char *prefix, struct mi_opt *opt; /* We assume that argv/argc are ok. */ if (*optind > argc || *optind < 0) - internal_error ("mi_getopt_long: optind out of bounds"); + internal_error (__FILE__, __LINE__, + "mi_getopt_long: optind out of bounds"); if (*optind == argc) return -1; arg = argv[*optind]; |