aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-12-09 22:57:15 +1030
committerAlan Modra <amodra@gmail.com>2019-12-10 09:02:05 +1030
commit6f0e0752309e3e3016a48db1672e3092c677020c (patch)
tree2bbb804e67b89f91c238fde3983558ecf466e096 /include/dis-asm.h
parentf59f89789fc17166ee05491e5c430706c9b7c18e (diff)
downloadgdb-6f0e0752309e3e3016a48db1672e3092c677020c.zip
gdb-6f0e0752309e3e3016a48db1672e3092c677020c.tar.gz
gdb-6f0e0752309e3e3016a48db1672e3092c677020c.tar.bz2
Remove backup ppc struct dis_private.
ppc-dis.c used a global struct whenever malloc failed to provide the eight bytes of memory necessary for struct dis_private. Which is quite ridiculous. If that malloc failed there is zero chance some other malloc won't fail too. * ppc-dis.c (private): Delete variable. (get_powerpc_dialect): Don't segfault on NULL info->private_data. (powerpc_init_dialect): Don't use global private.
Diffstat (limited to 'include/dis-asm.h')
0 files changed, 0 insertions, 0 deletions