This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Fix HC11 simulator warning
- From: Stephane Carrez <stcarrez at nerim dot fr>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 13 Aug 2002 13:02:06 +0200
- Subject: [PATCH]: Fix HC11 simulator warning
Hi!
Committed this patch to fix a warning in HC11 simulator.
Stephane
2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
Index: dv-m68hc11eepr.c
===================================================================
RCS file: /cvs/src/src/sim/m68hc11/dv-m68hc11eepr.c,v
retrieving revision 1.5
diff -u -p -r1.5 dv-m68hc11eepr.c
--- dv-m68hc11eepr.c 28 Jul 2001 19:19:05 -0000 1.5
+++ dv-m68hc11eepr.c 13 Aug 2002 08:59:53 -0000
@@ -1,6 +1,6 @@
/* dv-m68hc11eepr.c -- Simulation of the 68HC11 Internal EEPROM.
- Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
- Written by Stephane Carrez (stcarrez@worldnet.fr)
+ Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Written by Stephane Carrez (stcarrez@nerim.fr)
(From a driver model Contributed by Cygnus Solutions.)
This program is free software; you can redistribute it and/or modify
@@ -119,7 +119,7 @@ struct m68hc11eepr
/* Minimum time in CPU cycles for programming the EEPROM. */
unsigned long eeprom_min_cycles;
- char* file_name;
+ const char* file_name;
};