Post Ad5citfY1OijbMppz6 by stefanha@fosstodon.org
(DIR) More posts by stefanha@fosstodon.org
(DIR) Post #Ad51FhSUe1Q31swZ9M by penguin42@mastodon.org.uk
2023-12-22T21:22:14Z
0 likes, 0 repeats
I keep confusing 'b 0x1234' with 'b *0x1234' in gdb and wondering wth it's not triggering the bp.
(DIR) Post #Ad5citfY1OijbMppz6 by stefanha@fosstodon.org
2023-12-23T04:22:06Z
0 likes, 0 repeats
@penguin42 0x1234 vs *0x1234 always confuses me in gdb. By the time you use it again you've forgotten the right syntax.
(DIR) Post #Ad6J1sRJ0vG1MfuGIK by penguin42@mastodon.org.uk
2023-12-23T12:16:07Z
0 likes, 0 repeats
@stefanha The hint, which is obviousish later, is if you forget the '*' it asks you whether you want to make it pending on future shared library loads (because it's failing to find the 0x1234 symbol).