Re: [PATCH 5/8] gdb: Add functions to make loading from dynamically positioned targets easier

2023-03-08 Thread Daniel Kiper
On Mon, Feb 27, 2023 at 03:15:35PM -0600, Glenn Washburn wrote: > Many targets, such as EFI, load GRUB at addresses that are determined at > runtime. So the load addresses in kernel.exec will almost certainly be > wrong. Given the address of the start of the text segment, these > functions will

[PATCH 5/8] gdb: Add functions to make loading from dynamically positioned targets easier

2023-02-27 Thread Glenn Washburn
Many targets, such as EFI, load GRUB at addresses that are determined at runtime. So the load addresses in kernel.exec will almost certainly be wrong. Given the address of the start of the text segment, these functions will tell GDB to load the symbols at the proper locations. It is left up to the

[PATCH 5/8] gdb: Add functions to make loading from dynamically positioned targets easier

2022-02-13 Thread Glenn Washburn
Many targets, such as EFI, load GRUB at addresses that are determined at runtime. So the load addresses in kernel.exec will almost certainly be wrong. Given the address of the start of the text and data segments, these functions will tell GDB to load the symbols at the proper locations. It is left