Hi Tom,

Thanks for the review and the approval.

I don't have write access to the sourceware git repository, so could I ask
you to push this on my behalf? The patch is unchanged since your review and
still applies cleanly on top of the current master (gdb/bpf-tdep.c is
unchanged, base blob 5ae9fc6); it was tested on x86_64-linux.

Thanks,
YuPeng



主   题:Re: [PATCH] [gdb] bpf: Set long_bit and ptr_bit
日   期:2026年11月6日03:21
发件人:Tom Tromey
收件人:Tom Tromey
抄送人:gdb-patches,tromey,chouryzh,debianyu

>>>>> YuPeng <yupeng@kylinos.cn> writes: > Fix this by setting long_bit and ptr_bit to 64. addr_bit defaults to > ptr_bit, and the short_bit, int_bit and long_long_bit defaults are > already correct for BPF, so no other hooks need to be set. Thanks for the patch. FWIW this looks good to me. Approved-By: Tom Tromey <tom@tromey.com> Tom </tom@tromey.com></yupeng@kylinos.cn>

 

 

 


---