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] Remove non-address bits for longjmp resume breakpoint


Andreas Arnez wrote:

> On 32-bit S390 targets the longjmp target address "naturally" has the
> most significant bit set.  That bit indicates the addressing mode and
> is not part of the address itself.  Thus, in analogy with similar
> cases (like when computing the caller PC in
> insert_step_resume_breakpoint_at_caller), this change removes
> non-address bits from the longjmp target address before using it as a
> breakpoint address.

Makes sense.

> 	* gdb/infrun.c (process_event_stop_test): Apply
> 	gdbarch_addr_bits_remove to longjmp resume address.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


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