This is the mail archive of the gdb-patches@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: [RFA] let record_resume fail immediately on error


> With the fix error patch:
[...]
> (gdb) c
> Continuing.
> Process record doesn't support instruction rdtsc.
> Process record doesn't support instruction 0xf31 at address 0x8048352.
> main (argc=<value optimized out>, argv=<value optimized out>,
> envp=<value optimized out>) at 4.c:14
> 14		asm ("rdtsc");
> Process record: failed to record execution log.
> (gdb)
> Continuing.
> Process record doesn't support instruction rdtsc.
> Process record doesn't support instruction 0xf31 at address 0x8048352.
> main (argc=<value optimized out>, argv=<value optimized out>,
> envp=<value optimized out>) at 4.c:14
> 14		asm ("rdtsc");
> Process record: failed to record execution log.

I am going to defer to Michael who understands the issues much better
than I do; I am a little confused by what you are suggesting. On the
one hand, I understand that the problem you're trying to deal with
is the case when the inferior exits. Are you talking about normal
exiting as well as abnormal exiting like in your case? In any event,
what you show in your example looks like a bandaid that will only
handle a specific situation: In other words, it works around the issue
because you no longer let the inferior exit.

-- 
Joel


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