aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-04-13 13:33:10 +0000
committerDaniel Jacobowitz <drow@false.org>2007-04-13 13:33:10 +0000
commit46d570866dcefb811d86157204ec614ba4f18c19 (patch)
tree0e06a2a991bda8fbd1d90e466369ba1b341ac75b /gdb/breakpoint.c
parentd3169d93f7e21f9ebdd09d8856456baa26603dd5 (diff)
downloadgdb-46d570866dcefb811d86157204ec614ba4f18c19.zip
gdb-46d570866dcefb811d86157204ec614ba4f18c19.tar.gz
gdb-46d570866dcefb811d86157204ec614ba4f18c19.tar.bz2
* breakpoint.c (bpstat_what): Give step-resume higher priority than
shlib events.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 4ca386c..fa1e653 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3120,10 +3120,10 @@ bpstat_what (bpstat bs)
clrs < err shl shlr sn sr ss ts
ss < shl shlr sn sr ts
sn < shl shlr sr ts
- sr < shl shlr ts
- shl < shlr
+ shl < shlr sr
+ shlr < sr
+ sr < ts
ts <
- shlr <
What I think this means is that we don't need a damned table
here. If you just put the rows and columns in the right order,
@@ -3160,13 +3160,13 @@ bpstat_what (bpstat bs)
/*long_resume */
{clr, ss, sn, clrs, err, err, err, sr, ts, shl, shlr},
/*step_resume */
- {sr, sr, sr, sr, sr, sr, sr, sr, ts, shl, shlr},
+ {sr, sr, sr, sr, sr, sr, sr, sr, ts, sr, sr},
/*through_sig */
{ts, ts, ts, ts, ts, ts, ts, ts, ts, shl, shlr},
/*shlib */
- {shl, shl, shl, shl, shl, shl, shl, shl, ts, shl, shlr},
+ {shl, shl, shl, shl, shl, shl, shl, sr, ts, shl, shlr},
/*catch_shlib */
- {shlr, shlr, shlr, shlr, shlr, shlr, shlr, shlr, ts, shlr, shlr}
+ {shlr, shlr, shlr, shlr, shlr, shlr, shlr, sr, ts, shlr, shlr}
};
#undef kc