Jan Vrany <jan.vrany@labware.com> [Fri, 18 Aug 2023 14:25:54 +0100] rev 302
Compatibility: allow ports to customize semaphore / mutex creation
This commit adds new port methods: `#newSemaphore` and `#newMutex`.
This allows ports to return customized objects. This is needed to accomodate
different implementations / behaviors of semaphores among dialects (e.g, Pharo)
Jan Vrany <jan.vrany@labware.com> [Fri, 18 Aug 2023 14:10:59 +0100] rev 301
Initialize UDIS86-based disassembler lazily
Jan Vrany <jan.vrany@labware.com> [Fri, 18 Aug 2023 11:02:15 +0100] rev 300
Compatiblity: do not access Exeption's `parameter` instvar directly
...but through an accessor. (At least) Pharo has no instvar `parameter`.
Jan Vrany <jan.vrany@labware.com> [Thu, 17 Aug 2023 15:01:19 +0100] rev 299
Pharo port: add new make target `source`
This commit makes new target - `source` which only generates
sources for Pharo. This is to be used from other (Pharo) projects
using LibGDBs (e.g., Tinyrossa).
Jan Vrany <jan.vrany@labware.com> [Thu, 17 Aug 2023 14:59:52 +0100] rev 298
Pharo port: fix makefile
This commit fixes an error when running Pharo's `make` in fresh clone
caused by multiple attempts to clone smalltalk `makefiles`.
Jan Vrany <jan.vrany@labware.com> [Mon, 14 Aug 2023 16:35:57 +0100] rev 297
Add Pharo version of `GDBPortlib`
...that uses LibUnix from pharo-hacks [1]. Also, add dependency
on `LibCompat`
[1]: https://github.com/janvrany/pharo-hacks
Jan Vrany <jan.vrany@labware.com> [Mon, 24 Jul 2023 14:36:24 +0100] rev 296
Add PTerm as prerequisite of LibGDBs on Pharo
Jan Vrany <jan.vrany@labware.com> [Sat, 05 Aug 2023 07:45:53 +0100] rev 295
Add utility method `GDBDebugger >> #cli:`
...as a shorthand for opening a CLI for interactive debugging.
Jan Vrany <jan.vrany@labware.com> [Wed, 02 Aug 2023 13:21:16 +0100] rev 294
Compatiblity: refactor `GDBPTY` to allow separate stream objects for reading and writing
This commit changes `GDBPTY` to keep read- and write- streams of both PTY's
master and slave as separate objects. This enhances portability as some dialects
do not support (character) read-write streams, e.g., Pharo.
Jan Vrany <jan.vrany@labware.com> [Mon, 24 Jul 2023 23:15:14 +0100] rev 293
Introduce `GDBPortlib` to facilitate porting to other dialects
This commit introduces `GDBPortlib` in order to allow port to other
Smalltalk dialects, e.g, Pharo. Dialect specific code should go there.
For now, this includes creation of pipes and PTYs and spawning
processes.
Since now we use `GDBPortlib`s to encapsulate dialect-specific code,
(what used to be) `GDBStXSimpleProcess` and `GDBStXUnixProcess` are
no longer Smalltalk/X specific. Therefore they have been renamed to
`GDBSimpleProcess` and `GDBUnixProcess`