This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix crash in "macro define"
- From: Daniel Jacobowitz <drow at false dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Aug 2008 13:40:08 -0400
- Subject: Re: RFA: fix crash in "macro define"
- References: <m34p6dhpt0.fsf@fleche.redhat.com> <m3myk4cvou.fsf@fleche.redhat.com>
On Sat, Jul 26, 2008 at 01:05:53PM -0600, Tom Tromey wrote:
> ChangeLog:
> 2008-07-26 Tom Tromey <tromey@redhat.com>
>
> * macrocmd.c (macro_define_command): Check for NULL argument.
> (macro_undef_command): Likewise.
>
> testsuite/ChangeLog:
> 2008-07-26 Tom Tromey <tromey@redhat.com>
>
> * gdb.base/macscp.exp: Add regression test for "macro define" or
> "macro undef" with no arguments.
OK.
--
Daniel Jacobowitz
CodeSourcery