This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix crash in "macro define"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]