diff options
author | Joel Brobecker <brobecker@gnat.com> | 2004-04-17 04:45:32 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2004-04-17 04:45:32 +0000 |
commit | 350c2e5bea420a23d1d9399fd2ba65a85016491c (patch) | |
tree | 49fe8dbdbb4ece85b5587a041ff2d12f38fba49c | |
parent | bbde78fa2d908f226676783b314e689f929ed46b (diff) | |
download | gdb-350c2e5bea420a23d1d9399fd2ba65a85016491c.zip gdb-350c2e5bea420a23d1d9399fd2ba65a85016491c.tar.gz gdb-350c2e5bea420a23d1d9399fd2ba65a85016491c.tar.bz2 |
* observer.sh: Move comments in sed command to first column.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/observer.sh | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5be832..91fb912 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-04-16 Joel Brobecker <brobecker@gnat.com> + + * observer.sh: Move comments in sed command to first column. + 2004-04-16 Jason Molenda (jmolenda@apple.com) * frame.c: Minor typeo corrections in comments. diff --git a/gdb/observer.sh b/gdb/observer.sh index c67346f..c5d3779 100755 --- a/gdb/observer.sh +++ b/gdb/observer.sh @@ -62,22 +62,22 @@ esac IFS=: sed -n ' /@deftypefun void/{ - # Save original line for later processing into the actual parameter +# Save original line for later processing into the actual parameter h - # Convert from: @deftypefun void EVENT (TYPE @var{PARAM},...) - # to event and formals: EVENT:TYPE PARAM, ...: +# Convert from: @deftypefun void EVENT (TYPE @var{PARAM},...) +# to event and formals: EVENT:TYPE PARAM, ...: s/^.* void \([a-z_][a-z_]*\) (\(.*\))$/\1:\2/ s/@var{//g s/}//g - # Switch to held +# Switch to held x - # Convert from: @deftypefun void FUNC (TYPE @var{PARAM},...) - # to actuals: PARAM, ... +# Convert from: @deftypefun void FUNC (TYPE @var{PARAM},...) +# to actuals: PARAM, ... s/^[^{]*[{]*// s/[}]*[^}]*$// s/}[^{]*{/, /g - # Combine held (EVENT:TYPE PARAM, ...:) and pattern (PARAM, ...) into - # FUNC:TYPE PARAM, ...:PARAM, ... +# Combine held (EVENT:TYPE PARAM, ...:) and pattern (PARAM, ...) into +# FUNC:TYPE PARAM, ...:PARAM, ... H x s/\n/:/g |