* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
that may not be initialized elsewhere. (m32c_decode_sd23): Likewise.
This commit is contained in:
parent
40cf2291a7
commit
d56874a7f0
@ -1,3 +1,9 @@
|
||||
2006-08-28 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
|
||||
that may not be initialized elsewhere.
|
||||
(m32c_decode_sd23): Likewise.
|
||||
|
||||
2006-08-25 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* buildsym.c (finish_block): Don't adjust the boundaries of
|
||||
|
@ -1196,6 +1196,9 @@ m32c_decode_srcdest4 (struct m32c_pv_state *st,
|
||||
else
|
||||
sd.kind = srcdest_mem;
|
||||
|
||||
sd.addr = pv_unknown ();
|
||||
sd.reg = 0;
|
||||
|
||||
switch (code)
|
||||
{
|
||||
case 0x0: sd.reg = (size == 1 ? &st->r0 : &st->r0); break;
|
||||
@ -1232,6 +1235,9 @@ m32c_decode_sd23 (struct m32c_pv_state *st, int code, int size, int ind)
|
||||
{
|
||||
struct srcdest sd;
|
||||
|
||||
sd.addr = pv_unknown ();
|
||||
sd.reg = 0;
|
||||
|
||||
switch (code)
|
||||
{
|
||||
case 0x12:
|
||||
|
Loading…
Reference in New Issue
Block a user