Summary: | DWARF command-line defined macros get ignored | ||
---|---|---|---|
Product: | gdb | Reporter: | Jan Kratochvil <jan> |
Component: | macros | Assignee: | Jan Kratochvil <jan> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | gdb-prs |
Priority: | P3 | ||
Version: | unknown | ||
Target Milestone: | 6.8 | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: |
GCC patch by Jakub Jelinek.
GDB fix+testcase. |
Description
Jan Kratochvil
2009-02-19 21:36:24 UTC
Created attachment 3753 [details]
GCC patch by Jakub Jelinek.
Created attachment 3754 [details]
GDB fix+testcase.
Subject: Bug 9873 CVSROOT: /cvs/src Module name: src Changes by: jkratoch@sourceware.org 2009-03-09 18:53:48 Modified files: gdb : ChangeLog dwarf2read.c Log message: PR gdb/9873: * dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'. Move the variable `macinfo_type' out of the loop. Create a new processing pass before the current one to pre-create `current_file'. New complaint on misplaced zero/non-zero definitions/includes. Skip first DW_MACINFO_start_file with `at_commandline' set. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10233&r2=1.10234 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.295&r2=1.296 Comment on attachment 3754 [details]
GDB fix+testcase.
Updated patch has been checked-in.
Checked-in. |