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'.
This commit is contained in:
parent
a355c7de35
commit
086ed43dbd
|
@ -1,3 +1,11 @@
|
||||||
|
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'.
|
||||||
|
|
||||||
2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
|
2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
|
||||||
|
|
||||||
* breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
|
* breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
|
||||||
|
|
|
@ -765,7 +765,7 @@ static struct type *tag_type_to_type (struct die_info *, struct dwarf2_cu *);
|
||||||
|
|
||||||
static void read_type_die (struct die_info *, struct dwarf2_cu *);
|
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 (struct die_info *die, 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 *);
|
||||||
|
|
||||||
|
@ -2169,9 +2169,9 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu)
|
||||||
if (name == NULL || !dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu))
|
if (name == NULL || !dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (cu_language == language_cplus)
|
if (cu->language == language_cplus)
|
||||||
{
|
{
|
||||||
struct die_info *spec_die = die_specification (die);
|
struct die_info *spec_die = die_specification (die, cu);
|
||||||
|
|
||||||
/* NOTE: carlton/2004-01-23: We have to be careful in the
|
/* NOTE: carlton/2004-01-23: We have to be careful in the
|
||||||
presence of DW_AT_specification. For example, with GCC
|
presence of DW_AT_specification. For example, with GCC
|
||||||
|
|
Loading…
Reference in New Issue