* PATCH: clean up misapplied patch to dwarf2read.c
@ 2004-01-28 5:51 Jim Blandy
0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-01-28 5:51 UTC (permalink / raw)
To: gdb-patches
Committed as obvious.
2004-01-27 Jim Blandy <jimb@redhat.com>
Clean up misapplied patch:
* dwarf2read.c (determine_prefix): Change one of the two forward
declarations for 'determine_prefix_aux' to a declaration for this.
(read_func_scope): Use cu->language, not cu_language. Pass 'cu'
argument to 'die_specification'.
Index: gdb/dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.127
diff -c -r1.127 dwarf2read.c
*** gdb/dwarf2read.c 27 Jan 2004 20:47:20 -0000 1.127
--- gdb/dwarf2read.c 28 Jan 2004 04:01:22 -0000
***************
*** 765,771 ****
static void read_type_die (struct die_info *, struct dwarf2_cu *);
! static char *determine_prefix_aux (struct die_info *die, struct dwarf2_cu *);
static char *determine_prefix_aux (struct die_info *die, struct dwarf2_cu *);
--- 765,771 ----
static void read_type_die (struct die_info *, struct dwarf2_cu *);
! static char *determine_prefix (struct die_info *die, struct dwarf2_cu *);
static char *determine_prefix_aux (struct die_info *die, struct dwarf2_cu *);
***************
*** 2169,2177 ****
if (name == NULL || !dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu))
return;
! if (cu_language == language_cplus)
{
! struct die_info *spec_die = die_specification (die);
/* NOTE: carlton/2004-01-23: We have to be careful in the
presence of DW_AT_specification. For example, with GCC
--- 2169,2177 ----
if (name == NULL || !dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu))
return;
! if (cu->language == language_cplus)
{
! struct die_info *spec_die = die_specification (die, cu);
/* NOTE: carlton/2004-01-23: We have to be careful in the
presence of DW_AT_specification. For example, with GCC
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-28 5:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-28 5:51 PATCH: clean up misapplied patch to dwarf2read.c Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox