Skip to content

Commit

Permalink
[observers] new infinity function observers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Benson committed Nov 16, 2015
1 parent 21667d1 commit 2f5cb10
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions gdb/doc/observer.texi
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,18 @@ This observer is used for internal testing. Do not use.
See testsuite/gdb.gdb/observer.exp.
@end deftypefun

@deftypefun void i8func_load (struct program_space *@var{pspace}, struct infinity_function *@var{func})
The GNU Infinity function specified by @var{func} has been loaded in
the program space specified by @var{pspace}.
@end deftypefun

@deftypefun void i8func_change (struct program_space *@var{pspace}, struct infinity_function *@var{func})
The GNU Infinity function specified by @var{func} in the program space
specified by @var{pspace} has changed.
@end deftypefun

@deftypefun void i8func_unload (struct program_space *@var{pspace}, struct infinity_function *@var{func})
The GNU Infinity function specified by @var{func} is about to be
unloaded from the program space specified by @var{pspace}.
@end deftypefun

3 changes: 2 additions & 1 deletion gdb/observer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ struct objfile;
struct thread_info;
struct inferior;
struct trace_state_variable;
struct infinity_function;
EOF
;;
esac
Expand All @@ -86,7 +87,7 @@ sed -n '
h
# Convert from: @deftypefun void EVENT (TYPE @var{PARAM},...)
# to event and formals: EVENT:TYPE PARAM, ...:
s/^.* void \([a-z_][a-z_]*\) (\(.*\))$/\1:\2/
s/^.* void \([a-z_][a-z0-9_]*\) (\(.*\))$/\1:\2/
s/@var{//g
s/}//g
# Switch to held
Expand Down

0 comments on commit 2f5cb10

Please sign in to comment.