Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/MI testsuite] gdb/701 test (varobj)
Date: Fri, 13 Sep 2002 17:25:00 -0000	[thread overview]
Message-ID: <3D8281AE.8090505@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0209131648020.10494-100000@valrhona.uglyboxes.com>

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

As you are at it, canyou take a look at this old patch of mine that I've 
found lost in a branch....  Something should be broken without it!

Regards,
Fernando


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

[-- Attachment #2: MI.PATCH --]
[-- Type: text/plain, Size: 1475 bytes --]

Index: mi/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/mi/ChangeLog,v
retrieving revision 1.69
diff -c -p -r1.69 ChangeLog
*** mi/ChangeLog	11 Sep 2002 21:49:04 -0000	1.69
--- mi/ChangeLog	14 Sep 2002 00:23:46 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2001-01-27  Fernando Nasser  <fnasser@redhat.com>
+ 
+ 	* mi-cmd-var.c (varobj_update_one): Get a new handle if type changed.
+ 
  2002-09-11  Keith Seitz  <keiths@redhat.com>
  
  	* mi-main.c (mi_cmd_data_list_register_names): Use cleanups
Index: mi/mi-cmd-var.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-cmd-var.c,v
retrieving revision 1.12
diff -c -p -r1.12 mi-cmd-var.c
*** mi/mi-cmd-var.c	30 Jul 2002 13:45:15 -0000	1.12
--- mi/mi-cmd-var.c	14 Sep 2002 00:23:46 -0000
*************** varobj_update_one (struct varobj *var)
*** 458,463 ****
--- 458,464 ----
    struct varobj **changelist;
    struct varobj **cc;
    int nc;
+   char *varname = varobj_get_objname(var);
  
    nc = varobj_update (&var, &changelist);
  
*************** varobj_update_one (struct varobj *var)
*** 475,480 ****
--- 476,482 ----
      }
    else if (nc == -2)
      {
+       var = varobj_get_handle (varname);
        ui_out_field_string (uiout, "name", varobj_get_objname (var));
        ui_out_field_string (uiout, "in_scope", "true");
        ui_out_field_string (uiout, "new_type", varobj_get_type(var));

  reply	other threads:[~2002-09-14  0:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 16:49 Keith Seitz
2002-09-13 17:25 ` Fernando Nasser [this message]
2002-09-16 11:56   ` Keith Seitz
2002-09-17 12:24   ` Keith Seitz
2002-09-18  7:46     ` Fernando Nasser
2002-09-13 17:37 ` Andrew Cagney
2002-09-16 12:02   ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D8281AE.8090505@redhat.com \
    --to=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=keiths@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox