* monitor.c (monitor_load): Add support for load address argument.

* dsrec.c: #include <time.h>.
	(load_srec): New argument load_offset.  Print download stats.
	* srec.h (load_srec): Update prototype.
	* sh3-rom.c (sh3_load): Update call to load_srec.
This commit is contained in:
David Edelsohn
1996-12-11 20:14:11 +00:00
parent 77955104ba
commit eb28c55a5a
3 changed files with 14 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/* S-record download support for GDB, the GNU debugger.
Copyright 1995 Free Software Foundation, Inc.
Copyright 1995, 1996 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,8 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
void load_srec PARAMS ((serial_t desc, const char *file, int maxrecsize,
int flags, int hashmark, int (*waitack)(void)));
void load_srec PARAMS ((serial_t desc, const char *file, bfd_vma load_offset,
int maxrecsize, int flags, int hashmark,
int (*waitack)(void)));
/* S-record capability flags */