Removed the -Lp switch, place --dbgfile into help screen

git-svn-id: svn://svn.cc65.org/cc65/trunk@2318 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-15 09:19:57 +00:00
parent ccdd31b51e
commit 5422c6924a
4 changed files with 8 additions and 27 deletions

View File

@@ -147,22 +147,6 @@ void CreateLabelFile (void)
PrintDbgSymLabels (O, F);
}
/* If we should mark write protected areas as such, do it */
if (WProtSegs) {
SegDesc* S = SegDescList;
while (S) {
/* Is this segment write protected and contains data? */
if (S->Flags & SF_WPROT && S->Seg->Size > 0) {
/* Write protect the memory area in VICE */
fprintf (F, "wp %04lX %04lX\n",
S->Seg->PC,
S->Seg->PC + S->Seg->Size - 1);
}
/* Next segment */
S = S->Next;
}
}
/* Close the file */
if (fclose (F) != 0) {
Error ("Error closing map file `%s': %s", LabelFileName, strerror (errno));