diff options
author | Fernando Nasser <fnasser@redhat.com> | 2002-09-22 20:29:52 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2002-09-22 20:29:52 +0000 |
commit | 80fa85bd5b93f2d57023261b1655c54bd0aabd3f (patch) | |
tree | cf4693a697b411e0109e327e0afafbda11407f45 /gdb/scm-lang.c | |
parent | 5f84a9f6a3382af3c817d54f33159c55da56321c (diff) | |
download | gdb-80fa85bd5b93f2d57023261b1655c54bd0aabd3f.tar.gz |
* 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/scm-lang.c')
-rw-r--r-- | gdb/scm-lang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/scm-lang.c b/gdb/scm-lang.c index 318a51d9def..5b2f0c5b665 100644 --- a/gdb/scm-lang.c +++ b/gdb/scm-lang.c @@ -134,8 +134,7 @@ scm_unpack (struct type *type, char *valaddr, enum type_code context) static int in_eval_c (void) { - 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 (cursal.symtab && cursal.symtab->filename) { |