Am 13.06.2014 13:49, schrieb Lb peace: > It is funny that we have two sigbus_handler in our QEMU.(exec.c & > cpus.c)Change one's name. > > Signed-off-by: Peace <peac...@gmail.com)> > --- > cpus.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) >
Technically it does not matter whether two functions have the same name as long as both are in different compilation units (*.c files) and have only a local scope (that's what the 'static' keyword does). There are even function names in QEMU code which occur three or more times. Look for register_types, for example. They do you think this should be changed? The only reason I see is that setting breakpoints while debugging is a little bit more difficult. Regards Stefan