mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
2009-07-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* util.c (internal_vproblem): Always print failure message.
This commit is contained in:
10
gdb/utils.c
10
gdb/utils.c
@@ -933,7 +933,15 @@ further debugging may prove unreliable.", file, line, problem->name, msg);
|
||||
/* Default (yes/batch case) is to quit GDB. When in batch mode
|
||||
this lessens the likelihood of GDB going into an infinite
|
||||
loop. */
|
||||
quit_p = query (_("%s\nQuit this debugging session? "), reason);
|
||||
if (caution == 0)
|
||||
{
|
||||
/* Emit the message and quit. */
|
||||
fputs_unfiltered (reason, gdb_stderr);
|
||||
fputs_unfiltered ("\n", gdb_stderr);
|
||||
quit_p = 1;
|
||||
}
|
||||
else
|
||||
quit_p = query (_("%s\nQuit this debugging session? "), reason);
|
||||
}
|
||||
else if (problem->should_quit == internal_problem_yes)
|
||||
quit_p = 1;
|
||||
|
||||
Reference in New Issue
Block a user