gnupic: gplink and .lst files


Previous by date: 24 Mar 2006 18:28:40 +0000 Working SDCC PIC USB port reported, Xiaofan Chen
Next by date: 24 Mar 2006 18:28:40 +0000 Re: [gnupic] pk2 on amd64 fc4, John Sheahan
Previous in thread:
Next in thread:

Subject: gplink and .lst files
From: "George M. Gallant, Jr." ####@####.####
Date: 24 Mar 2006 18:28:40 +0000
Message-Id: <1143224915.9948.8.camel@scuba.home.net>

I typically use the -l option to gplink to inhibit the creation of the
composite .lst file.
A side effect is gplink deletes the existing .lst file.  Moving the the
code at approx 
lines 267-268 264 makes seems to correct this behavior.

New code:

void write_lst(void) {
  gp_symbol_type *symbol = state.object->symbols;
  gp_aux_type *aux;
  gp_boolean first_time = true;

  if(!state.lst.enabled)
    return;

  lst_init();

  list_enabled = true;

Thanks,
    George
 

Previous by date: 24 Mar 2006 18:28:40 +0000 Working SDCC PIC USB port reported, Xiaofan Chen
Next by date: 24 Mar 2006 18:28:40 +0000 Re: [gnupic] pk2 on amd64 fc4, John Sheahan
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.