[BUG] MI: -target-download

Nick Roberts nickrob@snap.net.nz
Tue Feb 20 20:22:00 GMT 2007


In current GDB, the MI command, -target-download, doesn't generate th MI
ouptut as described in the manual.  I think this is due to the change
in load_progress (symfile.c) from 2006-09-21:

  if (bytes == 0 && args->section_sent == 0)
    {
      /* The write is just starting.  Let the user know we've started
	 this section.  */
      ui_out_message (uiout, 0, "Loading section %s, size 0x%s lma 0x%s\n",
		      args->section_name, paddr_nz (args->section_size),
		      paddr_nz (args->lma));
      return;
    }

where GDB returns before getting to deprecated_show_load_progress.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb mailing list