public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
  • [parent not found: <09:17:35>]
  • * Patch: fixlet in gdbtk-cmds.c
    @ 2000-11-28 10:34 Tom Tromey
      2000-11-28 12:55 ` Syd Polk
      0 siblings, 1 reply; 27+ messages in thread
    From: Tom Tromey @ 2000-11-28 10:34 UTC (permalink / raw)
      To: Insight List
    
    I found a buglet in gdbtk-cmds.c.  This patch fixes it.  Ok to commit?
    
    2000-11-28  Tom Tromey  <tromey@cygnus.com>
    
    	* gdbtk-cmds.c (gdb_clear_file): Return error if wrong number of
    	arguments given.
    
    Tom
    
    Index: generic/gdbtk-cmds.c
    ===================================================================
    RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
    retrieving revision 1.12
    diff -u -r1.12 gdbtk-cmds.c
    --- gdbtk-cmds.c	2000/07/25 20:41:07	1.12
    +++ gdbtk-cmds.c	2000/11/28 18:33:19
    @@ -580,8 +606,11 @@
          Tcl_Obj *CONST objv[];
     {
       if (objc != 1)
    -    Tcl_SetStringObj (result_ptr->obj_ptr,
    -		      "Wrong number of args, none are allowed.", -1);
    +    {
    +      Tcl_SetStringObj (result_ptr->obj_ptr,
    +			"Wrong number of args, none are allowed.", -1);
    +      return TCL_ERROR;
    +    }
     
       if (inferior_pid != 0 && target_has_execution)
         {
    
    ^ permalink raw reply	[flat|nested] 27+ messages in thread

    end of thread, other threads:[~2000-11-30  9:57 UTC | newest]
    
    Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <Syd>
         [not found] ` <Polk's>
         [not found]   ` <message>
         [not found]     ` <of>
         [not found]       ` <"Wed,>
         [not found]       ` <"28>
         [not found]       ` <"Tue,>
         [not found]       ` <"Mon,>
         [not found]         ` <01>
         [not found]           ` <May>
         [not found]             ` <2000>
         [not found]               ` <09:07:18>
         [not found]                 ` <-0700>
    2000-04-29  7:21                   ` make check in itcl Andreas Jaeger
    2000-05-01  9:05                     ` Syd Polk
    2000-05-01  9:27                       ` Andreas Jaeger
    2000-05-01 10:15                         ` Syd Polk
    2000-05-01 10:58                           ` Andreas Jaeger
    2000-05-01 11:21                             ` Syd Polk
    2000-05-03 10:37                             ` Syd Polk
    2000-05-03 12:05                               ` Andreas Jaeger
    2000-05-03 12:37                                 ` Syd Polk
    2000-05-04  2:34                                   ` Andrew Cagney
         [not found]               ` <09:17:35>
         [not found]                 ` <-0800>
    2000-11-21 16:03                   ` rename to insight Tom Tromey
         [not found]                     ` <mailpost.974851789.4627@postal.sibyte.com>
    2000-11-22  9:42                       ` Chris G. Demetriou
    2000-11-22 10:29                         ` Tom Tromey
    2000-11-28  9:18                           ` Chris G. Demetriou
    2000-11-28  9:34                             ` Tom Tromey
    2000-11-28 12:52                               ` Syd Polk
    2000-11-28 10:34 Patch: fixlet in gdbtk-cmds.c Tom Tromey
    2000-11-28 12:55 ` Syd Polk
    2000-11-28 13:46   ` Tom Tromey
    2000-11-28 14:47     ` Syd Polk
    2000-11-28 17:32   ` Tom Tromey
    2000-11-28 23:51     ` Syd Polk
    2000-11-29 13:48       ` Tom Tromey
    2000-11-29 18:41         ` Syd Polk
    2000-11-29 20:07           ` Fernando Nasser
    2000-11-30  9:09             ` Tom Tromey
    2000-11-30  9:57               ` Fernando Nasser
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).