1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-27 01:41:34 +03:00
Commit Graph

53 Commits

Author SHA1 Message Date
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
e8b95a7f83 Allow exit code to be specified when using the debugger's "exit"
command; will be useful for some automation stuff I'm planning.
2017-09-14 21:00:45 +01:00
Philip Kendall
ba86bb5c9c Remove deprecated syntax for Z80 variables in the debugger. 2017-09-14 20:29:55 +01:00
Fredrick Meunier
5de51003fd Retire legacy RCS tags 2016-10-24 11:45:18 +11:00
Philip Kendall
f78dce2be1 Make register access just an alias for the appropriate system variable.
Legacy-ID: 5616
2016-06-08 21:35:34 +00:00
Philip Kendall
87f3695c89 Allow register names to be used as variable names.
Legacy-ID: 5615
2016-06-08 20:51:09 +00:00
Philip Kendall
d6bab6ebf8 Make evaluating system variables quicker.
Legacy-ID: 5550
2016-05-29 21:37:50 +00:00
Philip Kendall
20f3ba0cb2 First cut at implementing registration for debugger system variables.
Legacy-ID: 5527
2016-05-24 21:07:03 +00:00
Philip Kendall
6440fb65a7 Add ability to dereference debugger expressions (feature request #97).
Legacy-ID: 5491
2016-05-17 22:22:27 +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
12dfdf9b8b More init functions that can never fail.
Legacy-ID: 4635
2012-01-19 23:39:04 +00:00
Sergio Baldoví
9ae8892dd2 Free up memory (mostly GArray) when Fuse is exiting: memory, mempool, event,
debugger/event, rzx (part of patch #226).


Legacy-ID: 4540
2011-09-05 12:31:18 +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
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
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
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
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
8c825d36fe Add command to exit emulator.
Legacy-ID: 3503
2008-01-30 14:58:55 +00:00
Philip Kendall
a36e7f7381 Remove pointless conditional inclusion of headers.
Legacy-ID: 3111
2007-08-17 12:42:10 +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
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
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
42bc108833 Remove duplicated literal constants.
Legacy-ID: 2251
2004-06-16 14:05:38 +00:00
Philip Kendall
8667e59c4f New breakpoint type to trigger when tstates is greater than a certain
value.

Legacy-ID: 1848
2003-12-29 14:39:42 +00:00
Philip Kendall
44c83c333c Add ability to set write breakpoints by clicking on the appropriate
'possible'.

Legacy-ID: 1839
2003-12-27 18:03:23 +00:00
Philip Kendall
94009b6b6c Add page-specific breakpoints.
Legacy-ID: 1838
2003-12-27 15:40:37 +00:00
Philip Kendall
b133ce2069 Some --enable-warnings tidy-ups.
Legacy-ID: 1802
2003-12-02 14:56:33 +00:00
Philip Kendall
95fa0887a2 Make the expression evaluator use 16-bit maths.
Add the '~' operator.

Legacy-ID: 1479
2003-07-13 00:23:19 +00:00
Philip Kendall
7f3b63a51c Add ability to specify conditions directly when setting breakpoints.
Legacy-ID: 1478
2003-07-12 23:49:54 +00:00
Philip Kendall
d5f0fa4ef9 Display breakpoint conditions in the debugger display.
Legacy-ID: 1476
2003-07-12 18:39:15 +00:00
Philip Kendall
09ff49248b Add ability to deparse expressions.
Legacy-ID: 1475
2003-07-12 18:12:51 +00:00
Philip Kendall
24b1ba64ea Add next bit for conditional breakpoints.
Legacy-ID: 1473
2003-07-12 00:02:31 +00:00
Philip Kendall
42f9f18548 Change over to using libspectrum_byte (etc) rather than BYTE,WORD,etc.
Legacy-ID: 1465
2003-07-11 11:03:25 +00:00
Philip Kendall
213d34fd89 Add initial bits of code for conditional breakpoints.
Legacy-ID: 1463
2003-07-10 13:31:53 +00:00
Philip Kendall
d8349ae0b6 Remove the obsolete (and undocumented) debugger 'breakpoint show'
command.

Legacy-ID: 1460
2003-07-08 23:49:13 +00:00
Philip Kendall
7e074ced4f Add 'out' command to debugger to write to a port.
Legacy-ID: 1399
2003-06-14 10:07:16 +00:00
Philip Kendall
c8d282757a Add 'poke' functionality to the debugger.
Legacy-ID: 1146
2003-03-28 23:06:25 +00:00
Philip Kendall
4d009f1cca Add the debugger 'clear' command similar to gdb's.
Legacy-ID: 1136
2003-03-26 15:28:35 +00:00
Philip Kendall
7f3d921210 Give each breakpoint a unique ID, rather than just its current position
in the breakpoints list.

Legacy-ID: 985
2003-01-19 12:42:35 +00:00
Philip Kendall
b4b8c7bec3 Add ignore counts for breakpoints.
Legacy-ID: 944
2002-12-26 17:01:59 +00:00
Philip Kendall
85e4139c52 Introduce the type to define read/write breakpoints. Not used yet.
Legacy-ID: 939
2002-12-24 17:08:24 +00:00
Philip Kendall
48a01201b6 Add 'exit from last CALL' functionality.
Legacy-ID: 937
2002-12-24 12:44:27 +00:00
Philip Kendall
1ee13e8725 Add ability to set registers in the debugger.
Legacy-ID: 935
2002-12-24 12:31:28 +00:00