summaryrefslogtreecommitdiffstats
path: root/cris-dis.c
Commit message (Collapse)AuthorAgeFilesLines
* cris-dis: Clean memory allocationStefan Weil2012-01-101-28/+6
| | | | | | | | | | | | The old code used sizeof(const struct cris_opcode **) where it should have used sizeof(const struct cris_opcode *). As both sizes give the same value, the resulting binary was ok, but static code analyzers like coverity and clang complained. This is fixed here, and the code is also simplified by using g_new0. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Use glib memory allocation and free functionsAnthony Liguori2011-08-201-6/+6
| | | | | | qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* cris: Support disassembly of crisv10Edgar E. Iglesias2011-01-101-2/+7
| | | | Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
* Remove special handling of system include files (no longer needed)Stefan Weil2010-10-221-3/+1
| | | | | | | | | | | | | | | | The formerly used dyngen code did not work with system include files like stdio.h. Tests with Linux, OSX and Win32 show that this restriction is no longer needed. So we hopefully can remove that special piece of code. This results in cleaner code and allows better use of the new GCC_FMT_ATTR macro. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* bdf: Remove last users of FALSE/TRUEJuan Quintela2009-10-051-10/+8
| | | | | | | | | | This brings bfd_boolean to the wonderful world of <stdbool.h>, it is needed because it defines bdf_boolean as an enum with values true and false, and some architectures use TRUE, FALSE and give problems when you try to use <stdbool.h> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Update to a hopefully more future proof FSF addressBlue Swirl2009-07-161-5/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)aliguori2009-02-051-18/+8
| | | | | | | | Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6531 c046a42c-6fe2-441c-8c8c-71466251a162
* Teach the CRIS disassembler to stay within the provided buffer.edgar_igl2008-05-061-6/+4
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4353 c046a42c-6fe2-441c-8c8c-71466251a162
* CRIS disassembler, originally from binutils, by Edgar E. Iglesias.ths2007-10-081-0/+2907
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3356 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud