OSDN Git Service

gdb:
authortromey <tromey>
Thu, 14 Aug 2008 18:03:19 +0000 (18:03 +0000)
committertromey <tromey>
Thu, 14 Aug 2008 18:03:19 +0000 (18:03 +0000)
commitede07641427eed9c9e584ee1ea8592b5fda048a8
treecf053aa223a30f9cf42fe7ab0183cc8b9071a507
parent03210df6637293c1332d262371f89b4318ac6a58
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