Trying to hack up a change to fdpp kernel, but getting a crash. #248
-
Firstly I'm still without broadband here, so I'm having to retype everything on mobile. I have a structure that I'd like to be able to set es:Di to. Simplified the code looks something like this: Struct xgetxxx s; p=MK_FAR(s); regs.es = FP_SEG(p); But I get a crash, fdpp logging in dosemu mentions something about rtti symbol not found for class. What am I doing wrong? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Never seen any rtti-mentioning errors, |
Beta Was this translation helpful? Give feedback.
-
Can you remind me what I need to do to debug FDPP with gdb, please? I know you've told me in the past, but I've just tried searching old PRs and issues and can't find it. That's a lesson learnt for me, and so this time I'll add it to dosemu's wiki! |
Beta Was this translation helpful? Give feedback.
Never seen any rtti-mentioning errors,
so no idea really. This may be a bad build.
But make sure
regs
has the samelife-range as
s
and use MK_xxx_OBJ()macros:
https://github.com/dosemu2/fdpp/blob/master/kernel/initdisk.c#L728-L733