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: jit interface and jit reader


Hi Frank,

I'm glad it was useful. Regarding upstreaming I don't remember why but I
gave up. One of the commits on that branch adds some tests which might be
useful for getting it upstreamed.

I'm happy to help if you need it to get things upstreamed.

Kind  regards,

Tony

On Tue, 22 Jan 2019 at 17:32, Frank Tetzel <s1445051@mail.zih.tu-dresden.de>
wrote:

> > I think I ran into the same problem a couple of years ago. I fixed my
> > problem here
> > https://github.com/tonysimpson/binutils-gdb/commits/jit-interface-fixes.
> >
> > I've forgotten the details but I remember I got it working with my
> > patch - here is the commit message for
> > 3c0e5d45f727d5ef98b681103954820c8fbbd700 Fixes:
> >   * Named blocks not appearing as functions - can't break on
> > functions;
> >   * Pending breakpoints on JIT'd code not being resolved;
> >   * GDB goes into an infinit loop with more than one JIT block in a
> >      symtab;
> >   * Unwinder function not being called.
> >
> > Hope this helps. Best Regards,
>
> Hi Tony,
>
> thank you very much. Your patch is still working nearly unchanged. I
> just checked for gdb 8.2.1 (dict_create_linear_expandable() takes an
> argument now, "language").
>
> Breakpoints are working now, even pending ones. The disassemble command
> still does not work. But I haven't checked all the changes you did,
> e.g., multiple blocks.
>
> Did you try to upstream your changes?
>
> Best regards,
> Frank
>


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