This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] New command 'gcore'


> On Wed, Dec 12, 2001 at 05:48:03PM -0800, Andrew Cagney wrote:
> 
>  > But is that GDB's problem?  If the procfs / ptrace / ttrace interface is 
>  > lieing (returning fp registers for the wrong LWP/thread) then we've 
>  > worse problems than the above :-)
> 
> I suppose it all depends on what interface the backend uses to extract
> the info from the target.


GDB's thread code is implemented as (loosely speaking):

	thread model
	-> thread db library
	-> LWP / linux process / ... interface

VS handling a core file:

	thread model
	-> thread db library
	-> core file interface

provided the core file contains the same information as would have been 
returned by the LWP / linux process / ... interface, it should all be 
fine ......

i think,
Andrew


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