diff options
author | Kung Hsu <kung@cygnus> | 1994-07-08 19:38:18 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1994-07-08 19:38:18 +0000 |
commit | daad3bbf95c29995c3ed516fe0da0f627eff8c72 (patch) | |
tree | 2bc3cc6e86d80ad33e9dedce72d1c6227f133825 /gas/ecoff.h | |
parent | 6f89cd429cdb276e9da1473f485a75a001a3c9b1 (diff) | |
download | gdb-daad3bbf95c29995c3ed516fe0da0f627eff8c72.zip gdb-daad3bbf95c29995c3ed516fe0da0f627eff8c72.tar.gz gdb-daad3bbf95c29995c3ed516fe0da0f627eff8c72.tar.bz2 |
Modified Files:
read.c read.h ecoff.c ecoff.h ChangeLog
* read.c (read_a_source_file): generate line stabs for asm file.
* read.h: add extern generate_asm_line_stab.
* ecoff.h : add prototype for ecoff_generate_asm_line_stab().
* ecoff.c (add_file): if there's no filename provided, set switch
to generate line stabs for .s file.
* ecoff.c (add_procedure): add stabs symbol for .ent directive.
* ecoff.c (generate_ecoff_stab): creates an artificial stabs.
* ecoff.c (generate_asm_line_stab): generate a artifitial label
for each line and generate a stabn for the line.
Diffstat (limited to 'gas/ecoff.h')
-rw-r--r-- | gas/ecoff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ecoff.h b/gas/ecoff.h index a77d14e..2e94081 100644 --- a/gas/ecoff.h +++ b/gas/ecoff.h @@ -32,6 +32,9 @@ extern void ecoff_read_begin_hook PARAMS ((void)); obj_symbol_new_hook. */ extern void ecoff_symbol_new_hook PARAMS ((struct symbol *)); +/* This function should be called by the obj_frob_symbol hook. */ +extern void ecoff_frob_symbol PARAMS ((struct symbol *)); + /* Build the ECOFF debugging information. This should be called by obj_frob_file. This fills in the counts in *HDR; the offsets are filled in relative to the start of the *BUFP. It sets *BUFP to a @@ -74,4 +77,7 @@ extern void ecoff_set_gp_prolog_size PARAMS ((int sz)); extern void obj_ecoff_set_ext PARAMS ((struct symbol *, EXTR *)); #endif +/* This routine is called from read.c to generate line number stabs for .s file +*/ +extern void ecoff_generate_asm_line_stab PARAMS ((int)); #endif /* ECOFF_DEBUGGING */ |