public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Separate debugfile improvements
@ 2015-06-16  9:42 Gary Benson
  2015-06-16  9:42 ` [PATCH 1/5] Introduce build_debug_file_name Gary Benson
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Gary Benson @ 2015-06-16  9:42 UTC (permalink / raw)
  To: gdb-patches; +Cc: Cédric Buissart

Hi all,

This series makes a number of improvements to the code that locates
separated debuginfo.  This series (patch 4 specifically) goes really
nicely with the remote/container improvements I made this past few
months, and it'd be really nice to get this into 7.10.

- Patch 1 pulls filename building (including buffer allocation) out of
  find_separate_debug_file into a new function, build_debug_file_name.
  This simplifies find_separate_debug_file ready for the other
  patches.  The new code avoids generating paths with repeated
  separators, but operation is otherwise unchanged.

- Patch 2 alters find_separate_debug_file's caller to supply all paths
  without trailing separators, which patch 1 of this series made
  unnecessary.  This allows paths to be compared more simply.

- Patch 3 changes how find_separate_debug_file's CANON_DIR argument is
  handled.  The new code avoids looking in CANON_DIR if it is the same
  as DIR, but operation is otherwise unchanged.

- Patch 4 updates find_separate_debug_file to handle filenames
  prefixed with "target:".  This allows GDB to locate and access
  separated debuginfo from remote targets and from inferiors in
  containers.

- Patch 5 causes GDB to look for debug files in gdb_sysroot in
  addition to the other searched locations.  This allows for easier
  analysis of core files from foreign machines.

Built and regtested on RHEL 6.6 x86_64.

Ok to commit?

Thanks,
Gary

--
http://gbenson.net/

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-07-25 18:15 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16  9:42 [PATCH 0/5] Separate debugfile improvements Gary Benson
2015-06-16  9:42 ` [PATCH 1/5] Introduce build_debug_file_name Gary Benson
2015-06-16 14:47   ` Eli Zaretskii
2015-06-17  9:47     ` Gary Benson
2015-06-17 16:42       ` Eli Zaretskii
2015-06-18 10:55         ` Gary Benson
2015-06-18 12:11           ` Eli Zaretskii
2015-06-19  8:32             ` Gary Benson
2015-07-01 11:05   ` Pedro Alves
2015-07-02 11:18     ` Gary Benson
2015-07-02 11:38       ` Pedro Alves
2015-07-02 13:53         ` Gary Benson
2015-07-25 16:20   ` Jan Kratochvil
2015-06-16  9:42 ` [PATCH 2/5] Pre-strip now-unnecessary trailing directory separators Gary Benson
2015-07-01 13:45   ` Pedro Alves
2015-06-16  9:42 ` [PATCH 3/5] Update how find_separate_debug_file handles CANON_DIR argument Gary Benson
2015-07-01 11:13   ` Pedro Alves
2015-06-16  9:48 ` [PATCH 4/5] Add "target:" filename handling to find_separate_debug_file Gary Benson
2015-07-01 13:35   ` Pedro Alves
2015-07-23 14:33     ` Gary Benson
2015-07-24 10:28       ` Gary Benson
2015-07-24 11:54         ` Gary Benson
2015-07-25 18:15   ` Jan Kratochvil
2015-06-16  9:50 ` [PATCH 5/5] Also look for debug files in gdb_sysroot Gary Benson
2015-07-01 13:45   ` Pedro Alves
2015-06-23  8:44 ` [PING][PATCH 0/5] Separate debugfile improvements Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).