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 303875 Details for
Bug 444310
debugedit: Include empty CU current directories
[?]
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]
Fix.
rpm-4.4.2.3-comp_dir.patch (text/plain), 1.06 KB, created by
Jan Kratochvil
on 2008-04-26 22:32:48 UTC
(
hide
)
Description:
Fix.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2008-04-26 22:32:48 UTC
Size:
1.06 KB
patch
obsolete
>--- rpm-4.4.2.3-rc1/tools/debugedit.c 2008-04-26 22:42:31.000000000 +0200 >+++ rpm-4.4.2.3-rc1/tools/debugedit.c 2008-04-26 22:41:48.000000000 +0200 >@@ -890,6 +890,34 @@ edit_attributes (DSO *dso, unsigned char > break; > } > } >+ >+ /* Ensure the CU current directory will exist even if only empty. Source >+ filenames possibly located in its parent directories refer relatively to >+ it and the debugger (GDB) cannot safely optimize out the missing >+ CU current dir subdirectories. */ >+ if (comp_dir && list_file_fd != -1) >+ { >+ char *p; >+ size_t size; >+ >+ if (base_dir && has_prefix (comp_dir, base_dir)) >+ p = comp_dir + strlen (base_dir); >+ else if (dest_dir && has_prefix (comp_dir, dest_dir)) >+ p = comp_dir + strlen (dest_dir); >+ else >+ p = comp_dir; >+ >+ size = strlen (p) + 1; >+ while (size > 0) >+ { >+ ssize_t ret = write (list_file_fd, p, size); >+ if (ret == -1) >+ break; >+ size -= ret; >+ p += ret; >+ } >+ } >+ > if (found_list_offs && comp_dir) > edit_dwarf2_line (dso, list_offs, comp_dir, phase); >
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 444310
: 303875 |
303876
|
303877