Changes from the FSF for Hurd thread support.

This commit is contained in:
Stu Grossman
1996-07-17 06:03:26 +00:00
parent 9498be1a05
commit 647e52ea3a
10 changed files with 773 additions and 244 deletions

View File

@ -932,6 +932,11 @@ bpstat_do_actions (bsp)
struct cleanup *old_chain;
struct command_line *cmd;
/* Avoid endless recursion if a `source' command is contained
in bs->commands. */
if (executing_breakpoint_commands)
return;
executing_breakpoint_commands = 1;
old_chain = make_cleanup (cleanup_executing_breakpoints, 0);
@ -1665,7 +1670,7 @@ breakpoint_1 (bnum, allflag)
"watchpoint scope", "call dummy",
"shlib events" };
static char *bpdisps[] = {"del", "dstp", "dis", "keep"};
static char bpenables[] = "ny";
static char bpenables[] = "nyn";
char wrap_indent[80];
ALL_BREAKPOINTS (b)
@ -1794,6 +1799,12 @@ breakpoint_1 (bnum, allflag)
printf_filtered ("\n");
}
if (b->thread != -1)
{
/* FIXME should make an annotation for this */
printf_filtered ("\tstop only in thread %d\n", b->thread);
}
if (show_breakpoint_hit_counts && b->hit_count)
{
/* FIXME should make an annotation for this */