Jaime,
You can always avoid replacing the macros with code by invoking the
preprocessor on packet-afs*.c so you get rid of those macros without
actually changing the code a lot. You could for example want to replacee
only the macros defined in the packet-afs*.c files (that's easy to do with
preprocessor invocations; you may have to temporarily comment out the other
included headers).
If you then replace the original packet-afs*.c files with the preprocessed
ones (after having added the previously commented-out header include lines),
you can compile Ethereal (go to epan and rebuild libethereal; that'll do)
and debug.
Regards,
Olivier
|-----Original Message-----
|From: Jaime Fournier
|
|Due to the some problems I have had trying to debug some
|crashes in AFS,
| I am currently working on rewriting it. Most the code will
|stay in place,
| I am just going to consolidate to the standard
|packet-afs.[ch] and move
|everything to functions from macros, as well as fix a couple of items
|in fid. Was going to follow the type of layout when I converted packet-
|dcerpc-afs4int.c from macros -> functions.
|Just looking for any other suggestions anyone might have.
|
|Thanks!