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: [PATCH] Handle errors in tracepoint target agent


On Thursday 25 March 2010 22:30:31, Stan Shebs wrote:
> > FIXME?  If not important, or if this just need to be as big enough
> > to cope with all supported archs, then we should drop the FIXME note,
> > and explain that instead.
> >   
> I was thinking somebody might know of a clever way for the compiler to 
> get it into the test program...

You could pass it down to gdb_compile as an extra #define
from the .exp, using additional_flags for example:

 additional_flags=-DREGBLOCK_SIZE=$regblocksize

Is there a way to query GDB for this size, so the
.exp can get at it?  If not, maybe we can add a maintenance
command for this?  A fixed size per target doesn't
quite cut it, considering extended register sets, and
target descriptions.

-- 
Pedro Alves


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