Commit graph

60 commits

Author SHA1 Message Date
Gwilym Inzani 08ad8765de Fix clippy lint and fmt in the emulator 2024-04-09 20:55:21 +01:00
Corwin bf3e708f6f
remove all lockfiles 2024-04-09 20:42:09 +01:00
Gwilym Inzani e8aed8e376
Backtraces (#590)
Implements a very basic backtrace and the ability to format them

If you run the panic example and press A, you get:

```
[ERROR] GBA Debug: [failed]
[ERROR] GBA Debug: debug data: ce3-1ee7-1fb7-24d-1ad
[FATAL] GBA Debug: Error: panicked at src/memory_mapped.rs:101:24:
index out of bounds: the len is 240 but the index is 240
```

which you can then prettify with:

```
> agb-addr2line ../target/thumbv4t-none-eabi/debug/examples/panic 0ce3-1f57-2027-024d-01ad
0:	rust_begin_unwind <agb>/lib.rs:321
1:	core::panicking::panic_nounwind <core>/panicking.rs:151
2:	core::panicking::assert_failed_inner <core>/panicking.rs:321
3:	agb::memory_mapped::MemoryMapped2DArray<T,_,_>::set <agb>/memory_mapped.rs:101
	(inlined by) agb::display::bitmap3::Bitmap3::draw_point <agb>/display/bitmap3.rs:31
4:	main /home/gwilym/Projects/agb/agb/examples/panic.rs:15
```

- [ ] Changelog updated / no changelog update needed
2024-04-09 20:25:15 +01:00
GBA bot ef694ad776 Update lockfiles 2024-04-09 00:04:04 +00:00
GBA bot 2cfb5b576c Update lockfiles 2024-04-08 14:53:37 +00:00
GBA bot 4a0aa0e9d7 Update lockfiles 2024-04-04 20:58:42 +00:00
Gwilym Inzani 87676b534d Fix build error 2024-04-03 14:32:30 +01:00
GBA bot 5f24660b27 Update lockfiles 2024-04-02 12:10:47 +00:00
GBA bot 4bf1778dec Update lockfiles 2024-03-19 23:30:08 +00:00
GBA bot 0b669e513e Update lockfiles 2024-03-09 15:28:03 +00:00
Corwin 9e63b2c46c
Release v0.19.1 2024-03-06 19:11:47 +00:00
Gwilym Inzani 66ec762855 Release v0.19.0 2024-03-06 09:33:58 +00:00
GBA bot 6dbf946ca3 Update lockfiles 2024-02-27 22:05:08 +00:00
Gwilym Inzani c1a19888c3 Be less specific about the pkg-config version 2024-02-15 22:11:14 +00:00
GBA bot 2289a533de Update lockfiles 2024-02-14 11:02:19 +00:00
renovate[bot] 7e7b5f6a18
Update Rust crate pkg-config to 0.3.30 2024-02-14 11:01:49 +00:00
Gwilym Inzani 7d6ea45670 Update ahash in the cargo.lock files.
Fixes #553 and allows building on latest nightly again.
2024-02-11 16:17:59 +00:00
GBA bot 5d82f96396 Update lockfiles 2024-02-06 22:49:04 +00:00
Gwilym Inzani 3f607b379a Release v0.18.1 2024-02-06 22:36:11 +00:00
GBA bot cc0853518b Update lockfiles 2024-01-31 23:15:12 +00:00
renovate[bot] bfd38f425b
Update Rust crate libc to 0.2.153 2024-01-31 23:14:44 +00:00
GBA bot eb3b9b3c4a Update lockfiles 2024-01-17 17:23:16 +00:00
renovate[bot] f6eade6c02
Update Rust crate pkg-config to 0.3.29 2024-01-17 17:22:45 +00:00
GBA bot 4fdd0e0263 Update lockfiles 2024-01-07 15:10:41 +00:00
renovate[bot] d1d4139813
Update Rust crate libc to 0.2.152 2024-01-07 15:10:06 +00:00
GBA bot 91154a897e Update lockfiles 2023-12-28 22:33:58 +00:00
renovate[bot] f617532a74
Update Rust crate libc to 0.2.151 2023-12-28 22:33:31 +00:00
GBA bot 05851558df Update lockfiles 2023-12-20 17:09:12 +00:00
renovate[bot] d8c19d81dc
Update Rust crate pkg-config to 0.3.28 2023-12-20 17:08:43 +00:00
GBA bot 382d465f3e Update lockfiles 2023-12-05 20:51:29 +00:00
GBA bot b1df507fa6 Update lockfiles 2023-11-26 04:15:22 +00:00
GBA bot 323dbd8f01 Update lockfiles 2023-11-14 20:04:00 +00:00
renovate[bot] d1135d544d
Update Rust crate libc to 0.2.150 2023-11-14 20:03:31 +00:00
GBA bot cc0400e6a3 Update lockfiles 2023-11-09 20:10:08 +00:00
GBA bot 7425afdf75 Update lockfiles 2023-11-01 19:22:41 +00:00
renovate[bot] f793ea4f01
Update Rust crate bindgen to 0.69 2023-11-01 19:22:02 +00:00
Gwilym Inzani 7c6eaf324b Release v0.18.0 2023-10-31 20:35:14 +00:00
Gwilym Inzani e8eb216ff4 Update lockfiles 2023-10-26 22:27:19 +01:00
GBA bot c4116aeade Update lockfiles 2023-10-07 20:35:21 +00:00
renovate[bot] 994a36fdd8
Update Rust crate libc to 0.2.149 2023-10-07 20:34:42 +00:00
Gwilym Inzani 53685b0410 Release v0.17.1 2023-10-05 22:18:04 +01:00
Gwilym Inzani b6916d7e74 Release v0.17.0 2023-10-03 22:33:10 +01:00
Gwilym Inzani c6e98ea2dd Update lockfiles 2023-10-03 22:23:24 +01:00
GBA bot 2516a6f831 Update lockfiles 2023-09-26 20:25:56 +00:00
GBA bot 81aae96d18 Update lockfiles 2023-09-22 18:27:01 +00:00
GBA bot 226fdf63c9 Update lockfiles 2023-09-14 12:40:22 +00:00
GBA bot c7540a440d Update lockfiles 2023-09-13 13:17:49 +00:00
renovate[bot] 8828137aeb
Update Rust crate libc to 0.2.148 2023-09-13 13:17:10 +00:00
GBA bot 17a62bf0f2 Update lockfiles 2023-09-06 21:29:51 +00:00
renovate[bot] f2a407975b
Update Rust crate bindgen to 0.68 2023-09-06 21:29:19 +00:00