Menu ▾ ▴

#4121 PIC14: emit COFF type and array debug metadata with --debug-xtra

open
nobody
PIC14 (1)
PIC14
5
4 days ago
4 days ago
No

This patch adds Microchip COFF type metadata for the PIC14 backend when --debug-xtra is enabled.
It emits source-level aliases without the leading underscore together with .type and .dim directives for supported scalar and array types.
Tested with PIC16F877 and PIC12F675 using current gputils:

  • initialized and uninitialized scalar variables
  • initialized and uninitialized arrays
  • multidimensional array AUX records
  • gpasm/gpvo COFF inspection
  • variable type information verified in an external debugger
    With --debug-xtra disabled, the existing assembler output remains unchanged.
    The patch was verified to apply cleanly to SVN r16960.
1 Attachments

Discussion


Log in to post a comment.