Philip Kendall
50decde3d2
Add ability to restart emulation from Python code.
2018-07-02 21:48:18 +01:00
Philip Kendall
fead2e9e02
Trigger Python hook only if flag is set on breakpoint.
2018-06-30 22:45:49 +01:00
Philip Kendall
b2ab4a1641
Pass an argument to the Python hook.
2018-06-27 21:09:03 +01:00
Philip Kendall
af0422ccdc
Initial commit of Python hooks on breakpoints.
...
Very much WIP right now, this is a proof of concept rather than anything
intended to go into production.
2018-06-25 21:50:06 +01:00
Philip Kendall
ab5ce91916
Ensure conditional timed breakpoints work correctly.
...
Fixes bug #404 .
2017-10-13 22:31:27 +01:00
Fredrick Meunier
ba77c2ab67
Move memory.[ch] to memory_pages.[ch]
...
To avoid clashes with any similarly named system files (thanks,
BogDan Vatra and Sergio Baldoví).
2016-12-10 20:27:03 +11:00
Fredrick Meunier
5de51003fd
Retire legacy RCS tags
2016-10-24 11:45:18 +11:00
Fredrick Meunier
008deb6da1
Rename local argument shadowing global variable.
...
Legacy-ID: 5693
2016-07-19 12:18:41 +00:00
Fredrick Meunier
99b964e30b
Have a go at updating copyright dates since v 1.1.1.
...
Legacy-ID: 5432
2016-05-01 04:16:09 +00:00
BogDan Vatra
5978034454
Signal the UI when the breakpoints list is changed (patch #357 ).
...
Legacy-ID: 5380
2016-04-09 13:51:28 +00:00
Tom Seddon
3f2eaa53f7
Store the matched breakpoint before removing it from the list and freeing it
...
(fixes bug #317 ).
Legacy-ID: 5192
2015-03-28 04:31:07 +00:00
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
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í
81880c67c2
Fix time breakpoints later than a frame (patch #302 ).
...
Legacy-ID: 5044
2013-09-28 06:25:09 +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
e98c630145
Use utils_safe_strdup where appropriate.
...
Legacy-ID: 4633
2012-01-19 23:26:10 +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
a404e3f5f8
Integrate from trunk to Spectranet branch (just to keep it vaguely up to date).
...
Legacy-ID: 4418
2011-05-04 22:19:27 +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
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
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
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
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
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
Philip Kendall
5b2de86de4
Allow event breakpoints to be set only if the appropriate event is registered.
...
Legacy-ID: 3633
2008-05-27 08:49:28 +00:00
Philip Kendall
537ffe640c
Add "debugger events" where the debugger can stop when certain events happen.
...
So far, only "tape playing" implemented.
Legacy-ID: 3632
2008-05-26 19:51:17 +00:00
Philip Kendall
cc8eec981d
Ensure memory is not leaked when parsing expressions.
...
Legacy-ID: 3631
2008-05-26 12:22:29 +00:00
Philip Kendall
717e2c7767
Fix typo which prevented timed breakpoints from working properly.
...
Legacy-ID: 3138
2007-09-02 12:19:16 +00:00
Fredrick Meunier
a309bce591
Use AM_CPPFLAGS rather than change every header inclusion to be relative to the
...
current directory.
Legacy-ID: 3115
2007-08-19 02:49:14 +00:00
Philip Kendall
fdc2fa8813
Enable Fuse to build in directories other than the source directory itself.
...
Doesn't *run* from those directories, but it's a start.
Legacy-ID: 3110
2007-08-17 12:38:39 +00:00
Stuart Brady
0a71d3de18
Fix misspellings.
...
Legacy-ID: 3032
2007-06-28 22:48:54 +00:00
Stuart Brady
5bed548bc6
Update FSF address in GPL notices, add autogenerated-file comment to
...
settings.h, add missing Id tags, and some boilerplate formatting fixes .
Legacy-ID: 2889
2007-05-26 17:45:08 +00:00
Darren Salt
eed83b85fd
Add more comprehensive widget debugger (patch #67 ).
...
Legacy-ID: 2843
2007-05-15 12:19:55 +00:00
Philip Kendall
b9cc4b03a8
Change my e-mail address to @shadowmagic and remove my postal address.
...
Legacy-ID: 2720
2007-02-02 16:22:00 +00:00
Philip Kendall
3523d84868
Fix segfault on "clear" command (thanks, Stuart Brady).
...
Legacy-ID: 2667
2006-12-15 20:50:47 +00:00
Philip Kendall
d70b82f45d
Make setting breakpoints in non-RAM pages slightly more user friendly.
...
Legacy-ID: 2252
2004-06-16 14:46:35 +00:00
Philip Kendall
52a9f58985
Refactor to introduce separate mappings for reading and writing.
...
Legacy-ID: 2161
2004-05-17 09:15:50 +00:00
Philip Kendall
a36e8da822
Allow breakpoints to be set on the ROMCS pages.
...
Legacy-ID: 2159
2004-05-14 22:05:58 +00:00
Philip Kendall
1e9af274b4
Allow breakpoints to be set for non-RAM pages.
...
Legacy-ID: 2156
2004-05-14 12:35:03 +00:00
Philip Kendall
e00c30544d
Major memory mapping revamp (patch #39 ).
...
Legacy-ID: 2132
2004-04-19 20:43:58 +00:00
Philip Kendall
1f987bfb08
Allow masks to be applied before checking for port breakpoints.
...
Legacy-ID: 2016
2004-02-26 20:40:05 +00:00
Philip Kendall
d07af9a18b
Stop the evil multiplexing of the 'value' parameter to
...
debugger_breakpoint_add().
Legacy-ID: 2015
2004-02-26 20:03:10 +00:00