This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How does GDB/MI give the current frame
- From: Nick Roberts <nickrob at gnu dot org>
- To: "Alain Magloire" <alain at qnx dot com>
- Cc: cagney at gnu dot org (Andrew Cagney),drow at false dot org (Daniel Jacobowitz), gdb at sources dot redhat dot com
- Date: Sun, 11 Jul 2004 23:44:45 +0100
- Subject: Re: How does GDB/MI give the current frame
- References: <40EDC76F.2070809@gnu.org><200407082307.TAA09285@smtp.ott.qnx.com>
> Nic, are you using the -var-obj for variables, in theory they
> have the context i.e. should be thread aware ?
Ah yes, I can see that now. It seems a bit quirky and that you have to
do a -var-update for each thread. Also there's no way of seeing which
thread the variable object is for:
-var-info-expression var1
^done,lang="C",exp="y"
(gdb)
-var-info-expression var2
^done,lang="C",exp="y"
(gdb)
Nick