diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-08-27 01:09:09 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-08-27 01:09:09 +0000 |
commit | c2b8ed2c806135f28c880b614ab8728a8c2afa65 (patch) | |
tree | ecbb723f71dc746575e21e3856bb90b1b1823770 /ld | |
parent | b1f3a3732a9b31d1ac44847847e71506cefc800e (diff) | |
download | gdb-c2b8ed2c806135f28c880b614ab8728a8c2afa65.zip gdb-c2b8ed2c806135f28c880b614ab8728a8c2afa65.tar.gz gdb-c2b8ed2c806135f28c880b614ab8728a8c2afa65.tar.bz2 |
2002-08-26 Joel Brobecker <brobecker@gnat.com>
* cli/cli-script.c (copy_command_lines): New function.
* defs.h (copy_command_lines): Export.
* testsuite/gdb.base/commands.exp: New tests for commands
attached to a temporary breakpoint, and for commands that
delete the breakpoint they are attached to.
2002-08-26 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (bpstat_stop_status): Instead of copying the
pointer to the breakpoint commands struct, make a new copy
of the struct and point to that.
(bpstat_clear): Free the commands struct.
(bpstat_clear_actions): Free the commands struct.
(bpstat_do_actions): Free the command actions. Also execute
the local cleanups, instead of deleting them.
(delete_breakpoint): Leave the commands field of the bpstat
chain alone -- it will be freed later.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions