This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/959: maintenance print type segfaults for host x86-linuxm target sparc-linux


>Number:         959
>Category:       gdb
>Synopsis:       maintenance print type segfaults for host x86-linuxm target sparc-linux
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 25 18:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Albertsson
>Release:        5.3
>Organization:
>Environment:
Linux snaga.sics.se 2.4.19 #7 Fri Nov 29 15:22:22 CET 2002 i686 i686 i386 GNU/Linux

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

This GDB was configured as "--host=i686-pc-linux-gnu --target=sparc-unknown-linux".
>Description:
"maintenance print type init_mm" segfaults when used on
SuSE 7.3 kernel. Files are available on http://www.sics.se/~lalle/gdb_bug_030125
>How-To-Repeat:
Get a copy of linux-2.4.14.SuSE (default on SuSE 7.3). Edit
the makefile to remove -fomit-frame-pointer and add -g to CFLAGS. Compile the kernel with the .config available on
the url above and gcc 2.95.3-63 (20010315) (also default).

You can also download the kernel from the url.

Start gdb and type: "file vmlinux" followed by "maint print type init_mm".
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]