Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144627 Details for
Bug 109921
gdb is not finding the correct include file for variables
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Testcase.
gdb-6.5-bz109921-DW_AT_decl_file-test.patch (text/plain), 3.90 KB, created by
Jan Kratochvil
on 2007-01-02 09:24:51 UTC
(
hide
)
Description:
Testcase.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2007-01-02 09:24:51 UTC
Size:
3.90 KB
patch
obsolete
>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109921 > > >2007-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> > > * gdb.dwarf2/dw2-included.exp, gdb.dwarf2/dw2-included.c, > gdb.dwarf2/dw2-included.h: New files. > > >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ ./gdb/testsuite/gdb.dwarf2/dw2-included.c 2 Jan 2007 00:20:27 -0000 >@@ -0,0 +1,26 @@ >+/* This testcase is part of GDB, the GNU debugger. >+ >+ Copyright 2006 Free Software Foundation, Inc. >+ >+ This program is free software; you can redistribute it and/or modify >+ it under the terms of the GNU General Public License as published by >+ the Free Software Foundation; either version 2 of the License, or >+ (at your option) any later version. >+ >+ This program is distributed in the hope that it will be useful, >+ but WITHOUT ANY WARRANTY; without even the implied warranty of >+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+ GNU General Public License for more details. >+ >+ You should have received a copy of the GNU General Public License >+ along with this program; if not, write to the Free Software >+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, >+ USA. */ >+ >+#include "dw2-included.h" >+ >+int >+main() >+{ >+ return 0; >+} >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ ./gdb/testsuite/gdb.dwarf2/dw2-included.exp 2 Jan 2007 00:20:27 -0000 >@@ -0,0 +1,46 @@ >+# Copyright 2006 Free Software Foundation, Inc. >+ >+# This program is free software; you can redistribute it and/or modify >+# it under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 2 of the License, or >+# (at your option) any later version. >+# >+# This program is distributed in the hope that it will be useful, >+# but WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with this program; if not, write to the Free Software >+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. >+ >+# Minimal DWARF-2 unit test >+ >+# This test can only be run on targets which support DWARF-2. >+# For now pick a sampling of likely targets. >+if {![istarget *-*-linux*] >+ && ![istarget *-*-gnu*] >+ && ![istarget *-*-elf*] >+ && ![istarget *-*-openbsd*] >+ && ![istarget arm-*-eabi*] >+ && ![istarget powerpc-*-eabi*]} { >+ return 0 >+} >+ >+set testfile "dw2-included" >+set srcfile ${testfile}.c >+set binfile ${objdir}/${subdir}/${testfile} >+ >+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { >+ return -1 >+} >+ >+gdb_exit >+gdb_start >+gdb_reinitialize_dir $srcdir/$subdir >+gdb_load ${binfile} >+ >+gdb_test "set listsize 1" "" >+gdb_test "list integer" "int integer;\r" >+gdb_test "ptype integer" "type = int\r" >+gdb_test "info variables integer" "\r\nFile ./gdb.dwarf2/dw2-included.h:\r\nint integer;\r" >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ ./gdb/testsuite/gdb.dwarf2/dw2-included.h 2 Jan 2007 00:20:27 -0000 >@@ -0,0 +1,20 @@ >+/* This testcase is part of GDB, the GNU debugger. >+ >+ Copyright 2006 Free Software Foundation, Inc. >+ >+ This program is free software; you can redistribute it and/or modify >+ it under the terms of the GNU General Public License as published by >+ the Free Software Foundation; either version 2 of the License, or >+ (at your option) any later version. >+ >+ This program is distributed in the hope that it will be useful, >+ but WITHOUT ANY WARRANTY; without even the implied warranty of >+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+ GNU General Public License for more details. >+ >+ You should have received a copy of the GNU General Public License >+ along with this program; if not, write to the Free Software >+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, >+ USA. */ >+ >+int integer;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109921
:
95935
|
95936
|
144625
|
144627