From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: "Ulrich Weigand" <uweigand@de.ibm.com>,
matthew.gretton-dann@arm.com, patches@linaro.org
Subject: Fix build (was: Re: [rfc, arm] Always use correct execution state for single-step breakpoints)
Date: Fri, 01 Apr 2011 15:24:00 -0000 [thread overview]
Message-ID: <201104011623.57053.pedro@codesourcery.com> (raw)
In-Reply-To: <201104011158.p31Bwi6A021997@d06av02.portsmouth.uk.ibm.com>
On Friday 01 April 2011 12:58:44, Ulrich Weigand wrote:
> > gdb/
> > * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype.
This broke arm-bsd or --enable-targets=all builds:
In file included from ../../src/gdb/armnbsd-tdep.c:26:
../../src/gdb/arm-tdep.h:315: error: ‘struct address_space’ declared inside parameter list
../../src/gdb/arm-tdep.h:315: error: its scope is only this definition or declaration, which is probably not what you want
I've applied the obvious fix below.
--
Pedro Alves
2011-04-01 Pedro Alves <pedro@codesourcery.com>
gdb/
* arm-tdep.h (struct address_space): Add forward declaration.
---
gdb/arm-tdep.h | 1 +
1 file changed, 1 insertion(+)
Index: src/gdb/arm-tdep.h
===================================================================
--- src.orig/gdb/arm-tdep.h 2011-04-01 15:08:25.000000000 +0100
+++ src/gdb/arm-tdep.h 2011-04-01 15:29:30.899770002 +0100
@@ -23,6 +23,7 @@
/* Forward declarations. */
struct gdbarch;
struct regset;
+struct address_space;
/* Register numbers of various important registers. */
next prev parent reply other threads:[~2011-04-01 15:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 18:55 [rfc, arm] Always use correct execution state for single-step breakpoints Ulrich Weigand
2011-03-25 16:19 ` Tom Tromey
2011-03-25 17:12 ` Ulrich Weigand
2011-03-28 8:11 ` Yao Qi
2011-03-28 14:37 ` Ulrich Weigand
2011-03-28 18:34 ` Joel Brobecker
2011-03-29 14:14 ` Ulrich Weigand
2011-03-29 16:24 ` Joel Brobecker
2011-03-29 18:40 ` Ulrich Weigand
2011-04-01 11:58 ` Ulrich Weigand
2011-04-01 15:24 ` Pedro Alves [this message]
2011-04-01 15:41 ` Fix build (was: Re: [rfc, arm] Always use correct execution state for single-step breakpoints) Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201104011623.57053.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=matthew.gretton-dann@arm.com \
--cc=patches@linaro.org \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox