Commit 3b895f8e by Nathan Sidwell Committed by Nathan Sidwell

dwarf2out.c (dwarf2out_init, [...]): Change parameter name from input_filename.

	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
	name from input_filename.
f:
	* ste.c (struct gbe_block): Rename field from input_filename.
	(ffeste_start_block_, ffeste_start_stmt_): Likewise.

From-SVN: r66326
parent d12a7283
2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
name from input_filename.
2003-04-30 Eric Christopher <echristo@redhat.com> 2003-04-30 Eric Christopher <echristo@redhat.com>
Richard Sandiford <rsandifo@redhat.com> Richard Sandiford <rsandifo@redhat.com>
......
...@@ -12761,8 +12761,8 @@ dwarf2out_undef (lineno, buffer) ...@@ -12761,8 +12761,8 @@ dwarf2out_undef (lineno, buffer)
/* Set up for Dwarf output at the start of compilation. */ /* Set up for Dwarf output at the start of compilation. */
static void static void
dwarf2out_init (input_filename) dwarf2out_init (filename)
const char *input_filename ATTRIBUTE_UNUSED; const char *filename ATTRIBUTE_UNUSED;
{ {
init_file_table (); init_file_table ();
...@@ -13068,16 +13068,16 @@ prune_unused_types () ...@@ -13068,16 +13068,16 @@ prune_unused_types ()
and generate the DWARF-2 debugging info. */ and generate the DWARF-2 debugging info. */
static void static void
dwarf2out_finish (input_filename) dwarf2out_finish (filename)
const char *input_filename; const char *filename;
{ {
limbo_die_node *node, *next_node; limbo_die_node *node, *next_node;
dw_die_ref die = 0; dw_die_ref die = 0;
/* Add the name for the main input file now. We delayed this from /* Add the name for the main input file now. We delayed this from
dwarf2out_init to avoid complications with PCH. */ dwarf2out_init to avoid complications with PCH. */
add_name_attribute (comp_unit_die, input_filename); add_name_attribute (comp_unit_die, filename);
if (input_filename[0] != DIR_SEPARATOR) if (filename[0] != DIR_SEPARATOR)
add_comp_dir_attribute (comp_unit_die); add_comp_dir_attribute (comp_unit_die);
else if (get_AT (comp_unit_die, DW_AT_comp_dir) == NULL) else if (get_AT (comp_unit_die, DW_AT_comp_dir) == NULL)
{ {
......
2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
* ste.c (struct gbe_block): Rename field from input_filename.
(ffeste_start_block_, ffeste_start_stmt_): Likewise.
2003-04-17 Roger Sayle <roger@eyesopen.com> 2003-04-17 Roger Sayle <roger@eyesopen.com>
PR c/10375 PR c/10375
......
...@@ -388,7 +388,7 @@ typedef struct gbe_block ...@@ -388,7 +388,7 @@ typedef struct gbe_block
struct gbe_block *outer; struct gbe_block *outer;
ffestw block; ffestw block;
int lineno; int lineno;
const char *input_filename; const char *filename;
bool is_stmt; bool is_stmt;
} *gbe_block; } *gbe_block;
...@@ -402,7 +402,7 @@ ffeste_start_block_ (ffestw block) ...@@ -402,7 +402,7 @@ ffeste_start_block_ (ffestw block)
b->outer = ffeste_top_block_; b->outer = ffeste_top_block_;
b->block = block; b->block = block;
b->lineno = lineno; b->lineno = lineno;
b->input_filename = input_filename; b->filename = input_filename;
b->is_stmt = FALSE; b->is_stmt = FALSE;
ffeste_top_block_ = b; ffeste_top_block_ = b;
...@@ -444,7 +444,7 @@ ffeste_start_stmt_(void) ...@@ -444,7 +444,7 @@ ffeste_start_stmt_(void)
b->outer = ffeste_top_block_; b->outer = ffeste_top_block_;
b->block = NULL; b->block = NULL;
b->lineno = lineno; b->lineno = lineno;
b->input_filename = input_filename; b->filename = input_filename;
b->is_stmt = TRUE; b->is_stmt = TRUE;
ffeste_top_block_ = b; ffeste_top_block_ = b;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment