aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog-1995
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-11-23 02:45:29 +0000
committerMike Frysinger <vapier@gentoo.org>2010-11-23 02:45:29 +0000
commit81c641e7072bbb8d3d1b066f2bf11be27e4883e4 (patch)
treea5f4ec1a0ab5850c55cac933511f1e1bb5744d0b /gdb/ChangeLog-1995
parentd94e4f4f7ca11c8ef7b6d1f4ef83bea51c2eeb92 (diff)
downloadgdb-81c641e7072bbb8d3d1b066f2bf11be27e4883e4.zip
gdb-81c641e7072bbb8d3d1b066f2bf11be27e4883e4.tar.gz
gdb-81c641e7072bbb8d3d1b066f2bf11be27e4883e4.tar.bz2
sim: cast away hw/device differences
When building with device and hw support, the sim-core code generates a lot of build time warnings such as: ./../common/sim-core.c: In function 'sim_core_map_attach': ./../common/sim-core.c:198:7: warning: passing argument 1 of 'device_error' from incompatible pointer type ../common/sim-core.h:347:6: note: expected 'struct device *' but argument is of type 'struct hw *' ./../common/sim-core.c:235:7: warning: passing argument 1 of 'device_error' from incompatible pointer type ../common/sim-core.h:347:6: note: expected 'struct device *' but argument is of type 'struct hw *' In reality, these two structures get cast back and forth in the core code already and so are "compatible". So tweak the three functions that generate all of these warnings to include the casts automatically. I know this isn't exactly clean, but the current device/hw ifdef approach is full of landmines itself and I'm not entirely sure how to unscrew it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb/ChangeLog-1995')
0 files changed, 0 insertions, 0 deletions