Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:adrianSuSE:PL
mingw32-binutils
0001-Fix-bug-not-showing-correct-path-with-objd...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch of Package mingw32-binutils
From a93402d650158350c0956cbe1206695ebd43ebe4 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Wed, 7 Sep 2022 14:13:36 +0200 Subject: [PATCH] Fix bug not showing correct path with objdump -WL with pe binaries https://sourceware.org/bugzilla/show_bug.cgi?id=29523 --- binutils/dwarf.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 71d8bc9ed5c..f90f4efac5b 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -5215,6 +5215,8 @@ display_debug_lines_decoded (struct dwarf_section * section, ix, n_directories); directory = _("<corrupt>"); } + else if (linfo.li_version >= 5) + directory = (char *) directory_table[ix]; else directory = (char *) directory_table[ix - 1]; @@ -5385,6 +5387,7 @@ display_debug_lines_decoded (struct dwarf_section * section, if (linfo.li_version < 5) --file; + if (file_table == NULL || n_files == 0) printf (_("\n [Use file table entry %d]\n"), file); /* PR 20439 */ @@ -5406,6 +5409,10 @@ display_debug_lines_decoded (struct dwarf_section * section, dir, n_directories); printf (_("\n <over large directory table entry %u>\n"), dir); } + else if (linfo.li_version >= 5) + printf ("\n%s/%s:\n", + /* The directory index starts counting at 0. */ + directory_table[dir], file_table[file].name); else printf ("\n%s/%s:\n", /* The directory index starts counting at 1. */ -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor