This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] gdb: Move get_frame_language from stack.c to frame.c.
- From: Pedro Alves <palves at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, gdb-patches at sourceware dot org
- Date: Tue, 04 Aug 2015 17:02:49 +0100
- Subject: Re: [PATCH 2/2] gdb: Move get_frame_language from stack.c to frame.c.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1438699523 dot git dot andrew dot burgess at embecosm dot com> <568a4c1273713e14f691586c2d32bdbd3be610a1 dot 1438699523 dot git dot andrew dot burgess at embecosm dot com>
On 08/04/2015 04:40 PM, Andrew Burgess wrote:
> --- a/gdb/frame.h
> +++ b/gdb/frame.h
> @@ -814,4 +814,10 @@ extern struct frame_info *create_new_frame (CORE_ADDR base, CORE_ADDR pc);
> extern int frame_unwinder_is (struct frame_info *fi,
> const struct frame_unwind *unwinder);
>
> +/* Return the language of FRAME. */
> +
> +enum language;
No new forward declarations of enums please. That doesn't work in C++.
Thanks,
Pedro Alves