On Thu, 29 Jul 2010 16:40:50 +0800 Luming Yu <luming.yu@xxxxxxxxx> wrote: > On Thu, Jul 29, 2010 at 3:58 PM, KAMEZAWA Hiroyuki > <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > > On Thu, 29 Jul 2010 15:38:06 +0800 > > Luming Yu <luming.yu@xxxxxxxxx> wrote: > > > >> On Tue, Jul 27, 2010 at 5:03 PM, KAMEZAWA Hiroyuki > > > >> # gdb ./foo > >> GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5) > >> Copyright (C) 2009 Free Software Foundation, Inc. > >> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > >> This is free software: you are free to change and redistribute it. > >> There is NO WARRANTY, to the extent permitted by law. Type "show copying" > >> and "show warranty" for details. > >> This GDB was configured as "ia64-redhat-linux-gnu". > >> For bug reporting instructions, please see: > >> <http://www.gnu.org/software/gdb/bugs/>... > >> Reading symbols from /root/foo...done. > >> (gdb) break leaf > >> Breakpoint 1 at 0x40000000000005a1: file foo.c, line 2. > >> (gdb) run > >> Starting program: /root/foo > >> > >> Breakpoint 1, leaf () at foo.c:2 > >> 2 } > >> (gdb) gcore /tmp/save > >> Segmentation fault > >> # cat /proc/version > >> Linux version 2.6.35-rc3+ ... > >> > >> > > > > Hmm. What is EXEC_PAGESIZE installed in /usr/include/asm-generic/param.h ? > > I use stock gdb shipped with RHEL 5.5. > Hmm. RHEL5.5's EXEC_PAGESIZE is 64k, right ? (And your kernel is 16k.) > > And what happnes when modify it to 16k if it's 64k ? > > Want me to repbuild a gdb with this modification? > Ahhh, yes. It will be required...but plz when you have free time. I don't think the difference can cause MCA or hang... Thanks, -Kame -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html