* ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
(parse_ieee_bb): Set the filename if it has not already been discovered.
This commit is contained in:
parent
2cf0635d9d
commit
220df88bff
2 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-03-02 Sebastian Biallas <sb@biallas.net>
|
||||||
|
|
||||||
|
* ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
|
||||||
|
(parse_ieee_bb): Set the filename if it has not already been
|
||||||
|
discovered.
|
||||||
|
|
||||||
2009-03-02 Cary Coutant <ccoutant@google.com>
|
2009-03-02 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* readelf.c (adjust_relative_path): New function.
|
* readelf.c (adjust_relative_path): New function.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ieee.c -- Read and write IEEE-695 debugging information.
|
/* ieee.c -- Read and write IEEE-695 debugging information.
|
||||||
Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008
|
Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007,
|
||||||
Free Software Foundation, Inc.
|
2008, 2009 Free Software Foundation, Inc.
|
||||||
Written by Ian Lance Taylor <ian@cygnus.com>.
|
Written by Ian Lance Taylor <ian@cygnus.com>.
|
||||||
|
|
||||||
This file is part of GNU Binutils.
|
This file is part of GNU Binutils.
|
||||||
|
@ -1069,6 +1069,16 @@ parse_ieee_bb (struct ieee_info *info, const bfd_byte **pp)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! info->saw_filename)
|
||||||
|
{
|
||||||
|
namcopy = savestring (name, namlen);
|
||||||
|
if (namcopy == NULL)
|
||||||
|
return FALSE;
|
||||||
|
if (! debug_set_filename (info->dhandle, namcopy))
|
||||||
|
return FALSE;
|
||||||
|
info->saw_filename = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
namcopy = savestring (name, namlen);
|
namcopy = savestring (name, namlen);
|
||||||
if (namcopy == NULL)
|
if (namcopy == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -1786,6 +1796,7 @@ parse_ieee_ty (struct ieee_info *info, const bfd_byte **pp)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'V':
|
case 'V':
|
||||||
|
case 'v':
|
||||||
/* Void. This is not documented, but the MRI compiler emits it. */
|
/* Void. This is not documented, but the MRI compiler emits it. */
|
||||||
type = debug_make_void_type (dhandle);
|
type = debug_make_void_type (dhandle);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue