This is the mail archive of the gdb@sourceware.org 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: Cannot specify --frame without --thread


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


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