output.h (sdb_begin_function_line): Restore as an extern variable.
* output.h (sdb_begin_function_line): Restore as an extern variable. * sdbout.c (sdb_begin_function_line): Make extern. From-SVN: r44030
This commit is contained in:
parent
9e9f3eded6
commit
f4dc8d96d4
@ -1,3 +1,9 @@
|
|||||||
|
2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
|
||||||
|
|
||||||
|
* output.h (sdb_begin_function_line): Restore as an extern
|
||||||
|
variable.
|
||||||
|
* sdbout.c (sdb_begin_function_line): Make extern.
|
||||||
|
|
||||||
2001-07-15 Richard Henderson <rth@redhat.com>
|
2001-07-15 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* machmode.def (Pmode): Redefine if GENERATOR_FILE.
|
* machmode.def (Pmode): Redefine if GENERATOR_FILE.
|
||||||
|
@ -374,6 +374,13 @@ extern void output_constant PARAMS ((tree, int));
|
|||||||
extern rtx final_sequence;
|
extern rtx final_sequence;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* The line number of the beginning of the current function. Various
|
||||||
|
md code needs this so that it can output relative linenumbers. */
|
||||||
|
|
||||||
|
#ifdef SDB_DEBUGGING_INFO /* Avoid undef sym in certain broken linkers. */
|
||||||
|
extern int sdb_begin_function_line;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* File in which assembler code is being written. */
|
/* File in which assembler code is being written. */
|
||||||
|
|
||||||
#ifdef BUFSIZ
|
#ifdef BUFSIZ
|
||||||
|
@ -80,7 +80,7 @@ AT&T C compiler. From the example below I would conclude the following:
|
|||||||
/* Line number of beginning of current function, minus one.
|
/* Line number of beginning of current function, minus one.
|
||||||
Negative means not in a function or not using sdb. */
|
Negative means not in a function or not using sdb. */
|
||||||
|
|
||||||
static int sdb_begin_function_line = -1;
|
int sdb_begin_function_line = -1;
|
||||||
|
|
||||||
/* Counter to generate unique "names" for nameless struct members. */
|
/* Counter to generate unique "names" for nameless struct members. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user