Sergio Baldoví
6fe14f9600
Use libspectrum_free where appropriate.
...
Legacy-ID: 5164
2015-03-17 00:10:14 +00:00
Sergio Baldoví
8a964e81fe
Remove unneeded "out of memory" error handling.
...
Legacy-ID: 5139
2015-03-15 22:49:47 +00:00
Sergio Baldoví
dbae1afca5
Switch to using libspectrum_new over raw malloc.
...
Legacy-ID: 5136
2015-03-14 13:23:36 +00:00
Stuart Brady
4ddaa795ad
Add and use mempool_new() macro
...
Legacy-ID: 5132
2015-03-03 16:21:05 +00:00
Stuart Brady
afb6971ad0
Rename mempool_alloc() to mempool_malloc() to match libspectrum and GLib
...
Legacy-ID: 5131
2015-03-03 15:12:58 +00:00
Sergio Baldoví
1be5a53644
Avoid the use of memory after it is freed.
...
Legacy-ID: 5110
2015-01-06 11:50:29 +00:00
Sergio Baldoví
edbafb5fe5
Remove redundant code.
...
Legacy-ID: 5109
2015-01-04 18:46:47 +00:00
Sergio Baldoví
ea6c31d715
Add I and R setting and getting to the debugger (patch #319 ).
...
Legacy-ID: 5058
2013-10-16 21:53:38 +00:00
Sergio Baldoví
81880c67c2
Fix time breakpoints later than a frame (patch #302 ).
...
Legacy-ID: 5044
2013-09-28 06:25:09 +00:00
Sergio Baldoví
939d2a18c1
Ensure exiting on GTK UI when there are active breakpoints.
...
Legacy-ID: 5039
2013-09-14 07:13:38 +00:00
Sergio Baldoví
b59fc8f631
Improve scrolling of disassembly list on GTK UI.
...
Legacy-ID: 5038
2013-09-14 06:59:50 +00:00
Fredrick Meunier
92cf3774c6
Migrate INCLUDES to AM_CPPFLAGS.
...
Legacy-ID: 4743
2012-10-10 13:20:50 +00:00
Alex Badea
117b2b733f
Add im, iff1 and iff2 setting and getting.
...
Legacy-ID: 4730
2012-09-03 12:50:19 +00:00
Sergio Baldoví
f2cfaba381
Fix various memory leaks (rest of bug #254 ).
...
Legacy-ID: 4696
2012-05-07 02:05:13 +00:00
Philip Kendall
df7ec35799
Make event_add_with_data() just blow up if it can't allocate memory.
...
Legacy-ID: 4641
2012-01-21 13:42:51 +00:00
Philip Kendall
12dfdf9b8b
More init functions that can never fail.
...
Legacy-ID: 4635
2012-01-19 23:39:04 +00:00
Philip Kendall
e98c630145
Use utils_safe_strdup where appropriate.
...
Legacy-ID: 4633
2012-01-19 23:26:10 +00:00
Philip Kendall
0fc9fc16c4
Make debugger_event_register() just blow up if it can't allocate memory.
...
Legacy-ID: 4631
2012-01-19 22:43:24 +00:00
Philip Kendall
2fe6955b1b
Make event_register() just blow up if it can't allocate memory.
...
Legacy-ID: 4630
2012-01-19 22:32:50 +00:00
Philip Kendall
f44a98d5cf
Remove debugging code.
...
Legacy-ID: 4622
2012-01-09 14:36:43 +00:00
Philip Kendall
0ca0b9167c
Return the correct page when trying to match breakpoints (fixes bug #234 ).
...
Legacy-ID: 4621
2012-01-09 14:31:33 +00:00
Philip Kendall
224fe9332d
Merge in trunk r4549.
...
Legacy-ID: 4550
2011-11-06 22:10:10 +00:00
Philip Kendall
d91c57cfd3
Allow page-specific breakpoints to be specified as "source:page:offset".
...
Legacy-ID: 4390
2011-04-27 21:55:33 +00:00
Philip Kendall
2140b9817f
Move to a system where memory sources are registered by 3rd parties.
...
Legacy-ID: 4378
2011-04-26 23:02:06 +00:00
Philip Kendall
ed0fde8095
Remove that awful c1:0x1234 syntax.
...
Legacy-ID: 4377
2011-04-26 18:18:58 +00:00
Philip Kendall
96129d5cca
First bit of rework: merge memory_page.bank and memory_page.source.
...
Legacy-ID: 4314
2011-02-18 23:31:59 +00:00
Fredrick Meunier
dd6386d8fc
Evaluate all breakpoints again, but store the next breakpoint before deleting
...
the current one from the list (really really fixes bug #201 ) (thanks, Phil)
Legacy-ID: 4238
2011-01-01 03:48:34 +00:00
Sergio Baldoví
fbafaf84ad
Stop evaluating breakpoints when we have hit a temporary breakpoint (really
...
fixes bug #201 ) (patch #208 ).
Legacy-ID: 4236
2010-12-30 01:38:53 +00:00
Fredrick Meunier
33eafbf37f
Don't free temporary breakpoint until after we have run it (fixes bug #201 )
...
(thanks, Chris Cowley).
Legacy-ID: 4235
2010-12-29 10:03:09 +00:00
Fredrick Meunier
67eee6d145
Have a second go at eliminating warnings when calling debugger_command_input()
...
on platforms where yy_size_t isn't an int in a way that works for platforms
where it is.
Legacy-ID: 4130
2010-05-18 12:06:19 +00:00
Philip Kendall
f5e7fd470c
Fix gcc 4.4 warnings.
...
Legacy-ID: 4125
2010-05-06 22:18:50 +00:00
Fredrick Meunier
e183fbc082
We put a size_t argument in the result argument of debugger_command_input
...
rather than an int.
Legacy-ID: 4091
2009-09-03 12:15:38 +00:00
Fredrick Meunier
ffa7aeb030
Reduce GCC 4.2 string format warnings.
...
Legacy-ID: 4087
2009-09-02 13:42:00 +00:00
Philip Kendall
09a70ab764
Fix warning with recent version of Flex.
...
Legacy-ID: 3712
2008-07-06 11:45:24 +00:00
Philip Kendall
1ee67cb68a
When exiting, quit the main emulation loop immediately.
...
Legacy-ID: 3686
2008-06-21 14:33:22 +00:00
Philip Kendall
e6081a2165
Don't try copying an empty condition.
...
Legacy-ID: 3685
2008-06-21 12:37:24 +00:00
Philip Kendall
ddcb8654a2
Refactor the event architecture so that modules register their own events with
...
the event system (patch #177 ).
Legacy-ID: 3681
2008-06-16 09:40:29 +00:00
Fredrick Meunier
56ff9407f3
Add <string.h> for string prototypes.
...
Legacy-ID: 3669
2008-06-12 23:02:19 +00:00
Philip Kendall
c95450698f
Much better to have COMMANDSTATE1 as an inclusive start condition.
...
Legacy-ID: 3665
2008-06-10 16:10:21 +00:00
Fredrick Meunier
4429fa862d
Add <string.h> for string prototypes.
...
Legacy-ID: 3663
2008-06-10 15:44:39 +00:00
Philip Kendall
fa11482f03
Multiple time breakpoints didn't work properly.
...
Legacy-ID: 3662
2008-06-09 11:19:29 +00:00
Philip Kendall
5a77a30ae0
Must copy expression when setting a breakpoint condition.
...
Legacy-ID: 3661
2008-06-09 09:34:51 +00:00
Philip Kendall
0b307adf2c
Add forgotten file.
...
Legacy-ID: 3660
2008-06-09 08:37:25 +00:00
Philip Kendall
6d2b8dac10
Ensure the commands for all breakpoints are run; also move previous fix.
...
Legacy-ID: 3659
2008-06-08 22:38:35 +00:00
Philip Kendall
ef6345429b
A breakpoint command could have disabled the debugger before the UI is brought
...
up.
Legacy-ID: 3658
2008-06-08 22:22:01 +00:00
Philip Kendall
ca49cf6e45
Add numeric debugger variables
...
Legacy-ID: 3657
2008-06-08 15:04:37 +00:00
Philip Kendall
9eefc9dcaa
Add facility to run debugger commands when a breakpoint is hit.
...
Legacy-ID: 3655
2008-06-07 13:46:07 +00:00
Philip Kendall
f4e576871f
Allow event strings to include numbers (necessary for if1 events to work...)
...
Legacy-ID: 3651
2008-06-05 15:13:03 +00:00
Philip Kendall
5c3a42812d
Allow debugger commands to be specified on the command line. A side-effect is
...
allowing multiple debugger commands separated by newlines in one call to the
parser, and also fix the fact that event breakpoints didn't pay attention to
ignore counts, conditions or lifetime.
Legacy-ID: 3650
2008-06-03 21:53:18 +00:00
Fredrick Meunier
e5440279db
Add <string.h> for string prototypes.
...
Legacy-ID: 3639
2008-05-28 13:41:16 +00:00