OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f370b1
)
eepro100: Allocate a larger buffer for regname()
author
David Benjamin
<davidben@MIT.EDU>
Thu, 26 Nov 2009 02:20:10 +0000
(21:20 -0500)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 3 Dec 2009 21:26:01 +0000
(15:26 -0600)
This should avoid truncating the register name when debugging.
Signed-off-by: David Benjamin <davidben@mit.edu>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eepro100.c
patch
|
blob
|
history
diff --git
a/hw/eepro100.c
b/hw/eepro100.c
index
eb16a51
..
52cf902
100644
(file)
--- a/
hw/eepro100.c
+++ b/
hw/eepro100.c
@@
-648,7
+648,7
@@
static const char * const reg[PCI_IO_SIZE / 4] = {
static char *regname(uint32_t addr)
{
- static char buf[
16
];
+ static char buf[
32
];
if (addr < PCI_IO_SIZE) {
const char *r = reg[addr / 4];
if (r != 0) {