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] bitfield-parent-optimized-out: Fix struct definition


On Tue, Nov 15 2016, Pedro Alves wrote:

> On 11/11/2016 11:26 PM, Luis Machado wrote:

>> The patch looks good to me, but i'm wondering if Pedro meant for both
>> members to overlap (a union) instead of being two separate members?
>
> Possibly; I don't remember.  If the changed test would still trigger
> the old GDB bug, then I'm fine with the change.

Yes, the bug is triggered both with the old and new version of
bitfield-parent-optimized-out.exp:

  p var.bitfield
  ERROR: Process no longer exists
  UNRESOLVED: gdb.dwarf2/bitfield-parent-optimized-out.exp: p var.bitfield
  ERROR: Couldn't send p var.intfield to GDB.
  UNRESOLVED: gdb.dwarf2/bitfield-parent-optimized-out.exp: p var.intfield

Thanks, pushed.

--
Andreas


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