[PATCH][gdb/tdep] Use pid to choose x86_64 process 64/32-bitness

Tom de Vries tdevries@suse.de
Sat May 22 08:32:17 GMT 2021


On 5/21/21 12:50 PM, Alan Hayward wrote:
>> I think it makes sense in any case to probe the main thread, we know
>> it's always ok.
>>
> 
>  ...But agreed this is the sensible option. Even if io_uring is ok, something else
> could get added down the line which isn’t ok. Using pid should keep it safe.
> 

Changes since last post:
- added riscv64 (adding maintainers in cc)
- added suggested change for arm
- added comment at read_description in target.h

Any further comments?

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-tdep-Use-pid-to-choose-process-64-32-bitness.patch
Type: text/x-patch
Size: 7778 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20210522/fa19611e/attachment.bin>


More information about the Gdb-patches mailing list