gdb:
authorTom Tromey <tromey@redhat.com>
Thu, 14 Aug 2008 18:03:22 +0000 (18:03 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 14 Aug 2008 18:03:22 +0000 (18:03 +0000)
commit886a217cf4ad31024cf799bf2803c39c07ad1d15
tree2b9e71f2c415f3ba8b8ea95c6acab8064bc6bd7c
parent4e96a12e094223793435f3b27e99649a3dc26f70
gdb:
* macrocmd.c (macro_define_command): Check for NULL argument.
(macro_undef_command): Likewise.
gdb/testsuite:
* gdb.base/macscp.exp: Add regression test for "macro define" or
"macro undef" with no arguments.
gdb/ChangeLog
gdb/macrocmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/macscp.exp