Re: [PATCHv8 2/4] gdb: introduce program_space::get_entry_point_info function
Simon Marchi <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
On 7/20/26 5:52 AM, Andrew Burgess wrote:
> diff --git a/gdb/progspace.h b/gdb/progspace.h
> index 1ae1e42f3bb..be2d3f7e88c 100644
> --- a/gdb/progspace.h
> +++ b/gdb/progspace.h
> @@ -67,6 +67,50 @@ new_address_space ()
> return address_space_ref_ptr::new_reference (new address_space);
> }
>
> +/* Class for tracking two possible entry points that an inferior might
> + have, the entry point for the entire inferior, and the entry point
> + within the main executable. */
> +
> +struct entry_point_info
> +{
> + entry_point_info (std::optional<CORE_ADDR> inferior_entry_address,
> + std::optional<CORE_ADDR> exec_entry_address)
Indentation.
Simon