binutils-gdb/sim/arm
Luis Machado a5353ae6cf [ARM, sim] Fix build failure with -Werror (PR26365)
There is a bit of a situation in the ARM sim with regards to the handling
of argv. sim_open () gets a const char **argv, but ARM's sim_open gets
clever and decides to modify argv in place via sim_target_parse_command_line.
I'm not sure why.

In any case, here's a fix that makes the code modify a copy of argv instead.

sim/arm/ChangeLog:

2020-08-13  Luis Machado  <luis.machado@linaro.org>

	PR sim/26365

	* wrapper.c (sim_target_parse_command_line): Free discarded argv
	entries.
	(sim_open): Use a duplicate of argv instead of the original argv.
2020-08-13 10:32:52 -03:00
..
aclocal.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
armcopro.c Remove extraneous whitespace from ARM sim sources. 2015-07-14 12:06:33 +01:00
armdefs.h sim: arm: delete unused code 2015-12-25 03:09:01 -05:00
armemu.c [ARM, sim] Fix build error and warnings 2019-12-06 18:16:20 -03:00
armemu.h Add support for ARM v6 instructions. 2015-06-28 19:14:36 +01:00
armfpe.h Remove extraneous whitespace from ARM sim sources. 2015-07-14 12:06:33 +01:00
arminit.c [ARM, sim] Fix build error and warnings 2019-12-06 18:16:20 -03:00
armos.c sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
armos.h Remove extraneous whitespace from ARM sim sources. 2015-07-14 12:06:33 +01:00
armsupp.c sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
armvirt.c sim: arm: delete unused code 2015-12-25 03:09:01 -05:00
ChangeLog [ARM, sim] Fix build failure with -Werror (PR26365) 2020-08-13 10:32:52 -03:00
config.in Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
COPYING
dbg_rdi.h sim: arm: delete unused code 2015-12-25 03:09:01 -05:00
iwmmxt.c Fix spelling errors 2020-01-17 12:34:03 -06:00
iwmmxt.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
Makefile.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
maverick.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
maverick.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
README
sim-main.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
thumbemu.c Fix invalid left shift of negative value 2015-12-15 14:09:14 +01:00
wrapper.c [ARM, sim] Fix build failure with -Werror (PR26365) 2020-08-13 10:32:52 -03:00

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995