This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch] Remove redundant check of type==cmd_set


On Sun, Mar 17, 2002 at 02:34:03PM -0500, Andrew Cagney wrote:
> +  /* NOTE: cagney/2002-03-17: This function gets called by the command
> +     ``info set'' with COMMAND pointing to a show_cmd rather than a
> +     set command.  This the test below is removed, a core dump results
> +     (think about what happens when OPERATING_SYSTEM is NULL).  The
> +     wiered thing is that all other ``set'' handlers don't need this
         ^^ ^
"weird".  This one bites me so freqyently that I added "wierd" to my
local dictionary, defined as "misspelling"...

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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