Cannot specify --frame without --thread

Mahmood Naderan nt_mahmood@yahoo.com
Thu Dec 29 19:11:00 GMT 2011


ok I will read that. thanks

 
// Naderan *Mahmood;


----- Original Message -----
From: Joel Brobecker <brobecker@adacore.com>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Thursday, December 29, 2011 10:14 PM
Subject: Re: Cannot specify --frame without --thread

> The complete list of commands I used is pasted below. Please have a look at the end of message where I get the error.
[...]
> (gdb)
> -stack-list-locals --frame 0 --simple-values
> ^error,msg="Cannot specify --frame without --thread"
> (gdb)
[...]
> Is there any way to fix that?

Why do you think that this is an error that needs to be fixed?
The following section of the GDB manual doesn't say explicitly
that both must be used at the same time, or not at all, but it
gives a good clue as to why that is:

http://www.sourceware.org/gdb/current/onlinedocs/gdb/Context-management.html#Context-management

-- 
Joel



More information about the Gdb mailing list