mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
From Elena Zannoni <ezannoni@redhat.com> * dbxread.c (process_one_symbol): Only record line 0 if one or more sline entries have been seen for the function.
This commit is contained in:
parent
d3e0a5bf3a
commit
6b37567ac2
@ -1,3 +1,9 @@
|
||||
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
From Elena Zannoni <ezannoni@redhat.com>
|
||||
* dbxread.c (process_one_symbol): Only record line 0 if one or
|
||||
more sline entries have been seen for the function.
|
||||
|
||||
2003-02-26 Michael Chastain <mec@shout.net>
|
||||
|
||||
* configure: Regenerate with autoconf 000227.
|
||||
|
@ -2831,7 +2831,13 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
|
||||
break;
|
||||
}
|
||||
|
||||
record_line (current_subfile, 0, last_function_start + valu);
|
||||
/* The following check is added before recording line 0 at
|
||||
end of function so as to handle hand-generated stabs
|
||||
which may have an N_FUN stabs at the end of the function, but
|
||||
no N_SLINE stabs. */
|
||||
if (sline_found_in_function)
|
||||
record_line (current_subfile, 0, last_function_start + valu);
|
||||
|
||||
within_function = 0;
|
||||
new = pop_context ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user