aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-10-09 09:41:30 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-10-09 09:41:30 -0400
commit7567e115d312c3f8b56de6d1e2e8a90212e9dba8 (patch)
tree0010b4ebe9e2729a054b98c3f593bc5083a3daea /gdb/fbsd-tdep.c
parentf9acce4a4f411e78ebca90995c598ed231b104a3 (diff)
downloadgdb-7567e115d312c3f8b56de6d1e2e8a90212e9dba8.zip
gdb-7567e115d312c3f8b56de6d1e2e8a90212e9dba8.tar.gz
gdb-7567e115d312c3f8b56de6d1e2e8a90212e9dba8.tar.bz2
Add two callback data casts
gdb/ChangeLog: * fbsd-tdep.c (fbsd_collect_regset_section_cb): Add cast. * linux-tdep.c (linux_collect_regset_section_cb_data): Likewise.
Diffstat (limited to 'gdb/fbsd-tdep.c')
-rw-r--r--gdb/fbsd-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/fbsd-tdep.c b/gdb/fbsd-tdep.c
index 3231022..d7a5983 100644
--- a/gdb/fbsd-tdep.c
+++ b/gdb/fbsd-tdep.c
@@ -64,7 +64,8 @@ fbsd_collect_regset_section_cb (const char *sect_name, int size,
const char *human_name, void *cb_data)
{
char *buf;
- struct fbsd_collect_regset_section_cb_data *data = cb_data;
+ struct fbsd_collect_regset_section_cb_data *data
+ = (struct fbsd_collect_regset_section_cb_data *) cb_data;
gdb_assert (regset->collect_regset);