![]() |
![]() |
#1 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,585
|
DevPac and BSS DEBUG hunks
Years ago I realised that Devpac does neither create HCLN DEBUG hunks with "Line Debug = Compressed" nor LINE DEBUG hunks with "Line Debug = Standard" following a BSS section.
Therefore I did the same in vasm's hunk output module. But I see no real reason for it . Why don't you need a connection between hunk-offsets and source text lines in the BSS section? Am I missing something? |
![]() |
![]() |
#2 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 279
|
Surely source level debuggers would require this information to associate labels in BSS sections with source code line numbers.
|
![]() |
![]() |
#3 | |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,866
|
Quote:
|
|
![]() |
![]() |
#4 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,585
|
Quote:
Anyway, I decided now that vasm will output LINE DEBUG hunks for BSS, unless strict Devpac-compatibility was selected ( -devpacoption). Some debuggers may need it nevertheless. |
|
![]() |
![]() |
#5 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,897
|
@PHX does Vasm throw a warning if code is put in data sections? (Or datas in code)
|
![]() |
![]() |
#6 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,585
|
No. Does anybody think a warning would be a good idea here?
![]() There is also no problem with AmigaOS executing code from HUNK_DATA. Data in code sections, OTOH, is quite normal. Read-only data is encouraged by the m68k's design to be in the code section (PC-relative addressing). |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Devpac & Devpac 2 manuals? | RetrogamerRhys | Coders. Asm / Hardware | 4 | 07 July 2024 20:28 |
Devpac Debug hunks | phx | Coders. General | 21 | 16 July 2023 08:13 |
Devpac Debug Issue with multiple files | sandruzzo | Coders. General | 49 | 05 October 2021 17:13 |
Devpac II or Devpac 3 assembler with manual. | RetrogamerRhys | MarketPlace | 2 | 01 February 2020 18:33 |
Devpac - CNOP in a BSS Section | h0ffman | Coders. Asm / Hardware | 30 | 18 March 2015 23:12 |
|
|