* remove warning in h8sim
@ 2008-12-01 15:24 Joel Sherrill
2008-12-01 16:07 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Joel Sherrill @ 2008-12-01 15:24 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
Hi,
Minor patch to add const to a couple of pointer
declarations and remove warnings.
OK to commit?
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* compile.c: Add const to remove warning.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
[-- Attachment #2: h8.diff --]
[-- Type: text/x-patch, Size: 722 bytes --]
Index: compile.c
===================================================================
RCS file: /cvs/src/src/sim/h8300/compile.c,v
retrieving revision 1.44
diff -u -r1.44 compile.c
--- compile.c 3 Jul 2007 17:19:38 -0000 1.44
+++ compile.c 1 Dec 2008 15:22:09 -0000
@@ -599,7 +599,7 @@
/* Find the exact opcode/arg combo. */
for (q = h8_opcodes; q->name; q++)
{
- op_type *nib = q->data.nib;
+ const op_type *nib = q->data.nib;
unsigned int len = 0;
if ((q->available == AV_H8SX && !h8300sxmode) ||
@@ -924,7 +924,7 @@
#endif
/* Fill in the args. */
{
- op_type *args = q->args.nib;
+ const op_type *args = q->args.nib;
int hadone = 0;
int nargs;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: remove warning in h8sim
2008-12-01 15:24 remove warning in h8sim Joel Sherrill
@ 2008-12-01 16:07 ` Daniel Jacobowitz
2008-12-01 16:11 ` Joel Sherrill
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-12-01 16:07 UTC (permalink / raw)
To: Joel Sherrill; +Cc: gdb-patches
On Mon, Dec 01, 2008 at 09:23:43AM -0600, Joel Sherrill wrote:
> Hi,
>
> Minor patch to add const to a couple of pointer
> declarations and remove warnings.
>
> OK to commit?
>
> 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * compile.c: Add const to remove warning.
OK.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: remove warning in h8sim
2008-12-01 16:07 ` Daniel Jacobowitz
@ 2008-12-01 16:11 ` Joel Sherrill
0 siblings, 0 replies; 3+ messages in thread
From: Joel Sherrill @ 2008-12-01 16:11 UTC (permalink / raw)
To: gdb-patches
Daniel Jacobowitz wrote:
> On Mon, Dec 01, 2008 at 09:23:43AM -0600, Joel Sherrill wrote:
>
>> Hi,
>>
>> Minor patch to add const to a couple of pointer
>> declarations and remove warnings.
>>
>> OK to commit?
>>
>> 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
>>
>> * compile.c: Add const to remove warning.
>>
>
> OK.
>
>
Thanks. Committed.
--joel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-01 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 15:24 remove warning in h8sim Joel Sherrill
2008-12-01 16:07 ` Daniel Jacobowitz
2008-12-01 16:11 ` Joel Sherrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox