diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-12 17:56:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-12 17:56:35 +0000 |
commit | 0a62ff3608aff4f1b90dd480a0ee2ff81acac7ec (patch) | |
tree | 270804e3ea350cf6b9c8bb34caba1fd76f503e45 /gdb/breakpoint.c | |
parent | 9a9a88c18fb0d40344c944de05ad890ef6a16971 (diff) | |
download | gdb-0a62ff3608aff4f1b90dd480a0ee2ff81acac7ec.zip gdb-0a62ff3608aff4f1b90dd480a0ee2ff81acac7ec.tar.gz gdb-0a62ff3608aff4f1b90dd480a0ee2ff81acac7ec.tar.bz2 |
(breakpoint_1): use wrap_here before "at"
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 05e787e..f3961bc 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1194,6 +1194,7 @@ breakpoint_1 (bnum, allflag) "longjmp", "longjmp resume"}; static char *bpdisps[] = {"del", "dis", "keep"}; static char bpenables[] = "ny"; + char wrap_indent[80]; if (!breakpoint_chain) { @@ -1220,6 +1221,9 @@ breakpoint_1 (bnum, allflag) bptypes[(int)b->type], bpdisps[(int)b->disposition], bpenables[(int)b->enable]); + strcpy (wrap_indent, " "); + if (addressprint) + strcat (wrap_indent, " "); switch (b->type) { case bp_watchpoint: @@ -1241,6 +1245,7 @@ breakpoint_1 (bnum, allflag) { fputs_filtered ("in ", stdout); fputs_filtered (SYMBOL_SOURCE_NAME (sym), stdout); + wrap_here (wrap_indent); fputs_filtered (" at ", stdout); } fputs_filtered (b->symtab->filename, stdout); |