aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-watch.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-15sim: common: trim trailing whitespaceMike Frysinger1-8/+8
2011-02-14sim: punt zfree()Mike Frysinger1-1/+1
The sim keeps track of which allocations are zero-ed internally (via zalloc) and then calls a helper "zfree" function rather than "free". But this "zfree" function simply calls "free" itself. Since I can see no point in this and it is simply useless overhead, punt it. The only real change is in hw-alloc.c where we remove the zalloc_p tracking, and sim-utils.c where zfree is delete. The rest of the changes are a simple `sed` from "zfree" to "free". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-12sim: check asprintf return valuesMike Frysinger1-3/+4
These are the last sources of build warnings (asprintf usage) that I see. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+2
2010-04-12sim: add missing values to array initializersMike Frysinger1-3/+3
The sim code has a lot of static initializer for options and devices, but since they aren't using newer struct style, they have to specify a value for every option otherwise gcc spits a lot of warnings about "missing initializer". So add NULL/0 stubs for pointers/values. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-03-30sim: constify watchpoint interrupt namesMike Frysinger1-4/+4
GCC issues warnings because const strings like "foo" are passed as char*. sim-watch.c: In function 'watchpoint_type_to_str': sim-watch.c:120: warning: return discards qualifiers from pointer target type
2010-01-01Update copyright notices to add year 2010.Joel Brobecker1-1/+1
2009-01-14 Update the copyright notice of some of the files I missedJoel Brobecker1-1/+1
in the previous copyright update.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-24 Switch the license of all files explicitly copyright the FSFJoel Brobecker1-5/+4
to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+458
1999-04-16Initial creation of sourceware repositoryStan Shebs1-463/+0
1997-09-10o Wordwrap usage messages from sim-optionsAndrew Cagney1-9/+34
o Clarify how to use alias options o use in sim-watch (better usage message) o Don't pass something on the stack into the watch-point interrupt hander.
1997-09-05Redo watchpoint code so that it target can specify interrupt names.Andrew Cagney1-198/+327
Replace v850 interrupt code with this common watchpoint code. Other minor fixes to core.
1997-09-04o Add modulo argument to sim_core_attachAndrew Cagney1-13/+27
o Add sim-memopt module - memory option processing.
1997-05-21Watchpoint interface.Andrew Cagney1-0/+295