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: Propose we release GDB 9.1 next weekend (Feb 01-02)


 Am Sonntag, 26. Januar 2020, 12:40:48 MEZ hat Joel Brobecker <brobecker@adacore.com> Folgendes geschrieben:

> Hello everyone,
>
> As far as I can tell, we still have a couple of issues open, with
> unfortunately no progress that I can tell for the past week or so.
> At this point, the GDB 9.1 release has really been a long time coming,
> we really should try to get it out the door soon. Here are the
> remaining known issue, with my comments on how I propose we proceed:

I just noticed that gdbserver is a bit broken for x86_64-mingw (and I think
it always was).

Reason for it is this part in gdbserver/server.c:

    document += string_printf
      ("  <library name=\"%s\"><segment address=\"0x%lx\"/></library>\n",
       dll.name.c_str (), (long) dll.base_addr);

(long) is always 32bit on Windows, so the upper bits are cut off.

Fix seems simple:

     document += string_printf
-      ("  <library name=\"%s\"><segment address=\"0x%lx\"/></library>\n",
-       dll.name.c_str (), (long) dll.base_addr);
+      ("  <library name=\"%s\"><segment address=\"0x%s\"/></library>\n",
+       dll.name.c_str (), paddress (dll.base_addr));

I just tested it and this improves the debugging experience a lot.

But I guess this is probably too late for the release.


Regards
Hannes Domani


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