diff options
author | Steve Chamberlain <sac@cygnus> | 1992-01-25 01:46:19 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-01-25 01:46:19 +0000 |
commit | 86c094f212e906f9163b8993710e3046435a4209 (patch) | |
tree | 67251a53d9e0fd54c0c7557fe4df3d89942fca1a /gas/config/obj-bout.c | |
parent | 3d38ac61cdcb079d7f53c114a0c93622bfba4013 (diff) | |
download | gdb-86c094f212e906f9163b8993710e3046435a4209.zip gdb-86c094f212e906f9163b8993710e3046435a4209.tar.gz gdb-86c094f212e906f9163b8993710e3046435a4209.tar.bz2 |
Now can list for bout format too
Diffstat (limited to 'gas/config/obj-bout.c')
-rw-r--r-- | gas/config/obj-bout.c | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c index 883859c..4de551f 100644 --- a/gas/config/obj-bout.c +++ b/gas/config/obj-bout.c @@ -21,7 +21,7 @@ to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "as.h" #include "obstack.h" - +#include "aout/stab_gnu.h" const short /* in: segT out: N_TYPE bits */ seg_N_TYPE[] = { N_ABS, @@ -291,6 +291,27 @@ int what; pseudo_set(symbolP); symbolP->sy_symbol.n_type = saved_type; } +#ifndef NO_LISTING +{ + extern int listing; + + if (listing && !goof) + { + if (symbolP->sy_symbol.n_type == N_SLINE) + { + + listing_source_line(symbolP->sy_symbol.n_desc); + } + else if (symbolP->sy_symbol.n_type == N_SO + || symbolP->sy_symbol.n_type == N_SOL) + { + listing_source_file(string); + } + } +} + +#endif + if (goof) ignore_rest_of_line (); else |