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: [rfa] New test sigbpt.{c,exp}


On Wed, Jun 30, 2004 at 11:25:06AM -0400, Andrew Cagney wrote:

Are there [get_kernel_info] and [get_software_singlestep] testsuite calls?


I don't even know a reliable way to find out if we're using software
singlestep from the GDB prompt, besides trying to grok the multiarch
dump (and I'm not sure that would work).  Perhaps we should add one.

Rooting round in the architecture vector would work.


(I have a strong dislike for those hardwired <config>.exp predicates. The testsuite should separatly: query GDB for a mechanisms status; cross check with <config>.exp that the status matches what is expected.)

Is [get_kernel_info] a good idea?  Version numbers don't tell you much;
everyone seems to port fixes every which way.

Or [kernel_..._p]. We have to assume that kernel vendors have vaguely sane branding.


I'll kfail this since, in theory at least, GDB can work around the breakage by using software single-step.

Andrew



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