* dwarf2.c (decode_line_info): Cope with an initially empty
filename table.
This commit is contained in:
parent
51db5742a9
commit
8bfd78b3d0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-19 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* dwarf2.c (decode_line_info): Cope with an initially empty
|
||||
filename table.
|
||||
|
||||
2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* acinclude.m4: Include ../config/accross.m4.
|
||||
|
|
|
@ -1168,7 +1168,7 @@ decode_line_info (unit, stash)
|
|||
{
|
||||
/* State machine registers. */
|
||||
bfd_vma address = 0;
|
||||
char * filename = concat_filename (table, 1);
|
||||
char * filename = table->num_files ? concat_filename (table, 1) : NULL;
|
||||
unsigned int line = 1;
|
||||
unsigned int column = 0;
|
||||
int is_stmt = lh.default_is_stmt;
|
||||
|
|
Loading…
Reference in a new issue