aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2002-09-22 20:29:52 +0000
committerFernando Nasser <fnasser@redhat.com>2002-09-22 20:29:52 +0000
commitc214a6fd4d4e7d6d8bfd1dc355442070a63ca61a (patch)
treea41956f7fd7aad84faf6441ee1e5777e93bd1903 /gdb/breakpoint.c
parente7edbbdb573c5f94dac130e1b76d68851f2e5690 (diff)
downloadgdb-c214a6fd4d4e7d6d8bfd1dc355442070a63ca61a.zip
gdb-c214a6fd4d4e7d6d8bfd1dc355442070a63ca61a.tar.gz
gdb-c214a6fd4d4e7d6d8bfd1dc355442070a63ca61a.tar.bz2
* source.c (get_current_source_symtab_and_line): Initialize sal.pc and
sal.end fields. (get_current_or_default_source_symtab_and_line): Ditto. * breakpoint.c (parse_breakpoint_sals): Use correct accessor function so we do not cause a new source symtab to be searched for (reverting an unintentional change from the 2002-09-20 patch). * scm-lang.c (scm_unpac): Ditto.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index caa8f1c..a77bff4 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4620,8 +4620,7 @@ parse_breakpoint_sals (char **address,
should produce the results we want almost all of the time while
leaving default_breakpoint_* alone. */
- struct symtab_and_line cursal =
- get_current_or_default_source_symtab_and_line ();
+ struct symtab_and_line cursal = get_current_source_symtab_and_line ();
if (default_breakpoint_valid
&& (!cursal.symtab