Re: [PATCH 2/2] Add support for GNAT Ravenscar run-time library.

Jan Kratochvil
2010-09-23T19:01:29Z

On Thu, 23 Sep 2010 20:43:00 +0200, Joel Brobecker wrote:
> --- /dev/null
> +++ b/gdb/ravenscar-thread.c
[...]
> +static CORE_ADDR read_thread_id (const char* symbol_name);
^^-> ` *'
[...]
> +static char * ravenscar_extra_thread_info (struct thread_info *tp);
^^^-> ` *'
[...]
> +read_thread_id (const char* symbol_name)
^^-> ` *'
> +{
[...]
> + char* buf;
^^-> ` *'
[...]
> +ravenscar_wait (struct target_ops *ops, ptid_t ptid,
> + struct target_waitstatus *status,
> + int options)
> +{
> + struct target_ops *beneath = find_target_beneath (ops);
> +
> + inferior_ptid = base_ptid;
> + beneath->to_wait (ops, base_ptid, status, 0);
^^^-> beneath
With many other places.

[...]
> +void
> +_initialize_ravenscar (void)
> +{
> + extern struct cmd_list_element *cmdlist;

This declaration is in "gdbcmd.h".

Thanks,
Jan