Commit Graph

13 Commits

Author SHA1 Message Date
f51a73c175 debugedit: enhance error diagnostics 2013-10-28 23:27:58 +00:00
Panu Matilainen
c14ca2efee Doh, its .debug_gdb_scripts, not _script (really fix SuseBug:818502) 2013-10-28 21:53:05 +00:00
Panu Matilainen
3ba57efca0 Teach debugedit about .debug_gdb_script section (SuseBug:818502) 2013-10-28 21:52:58 +00:00
Panu Matilainen
ec72fa893b Avoid breaking build on older systems which dont know AArch64 2013-10-28 21:52:49 +00:00
Kyle McMartin
220cc6770d debugedit: handle aarch64 debug_info relocations (RhBug:974860)
AArch64 generates a relocation which must be handled similar to other
architectures. Adding this patch allows debugedit to run against the
kernel debuginfo.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2013-10-28 21:52:41 +00:00
Panu Matilainen
3202ef8837 Plug segfault on NULL pointer dereference in debugedit (RhBug:929365)
- Not sure what the right thing to do would be here, ignoring seems
  like a better option than crashing though...
2013-10-28 21:52:25 +00:00
Panu Matilainen
ca9831743b Teach debugedit about .debug_macro dwarf section (RhBug:759272) 2012-08-17 16:36:15 +00:00
Jakub Jelinek
0bed5fc55d Add DWARF-4 support to debugedit (RhBug:707677)
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-08-17 16:34:56 +00:00
Panu Matilainen
be7b36d39b Warn but dont fail the build on STABS debuginfo (RhBug:725378, others)
- debugedit doesn't support STABS but there are some crazy cases
  like PPC Linux kernel which contains both STABS and DWARF debuginfo
  sections, manually added. A better fix would be erroring out
  if we didn't find any usable debuginfo and warning otherwise but
  this at least folks get their kernels built.
2012-08-17 16:32:02 +00:00
Panu Matilainen
a2b0166bb3 Bail out of debuginfo if stabs format encountered (RhBug:453506)
The previous "silently ignore" policy produces bogus debuginfo packages
on some architectures and fails with other mysterious errors on others,
better just fail hard until (if ever) somebody adds stabs support.
2012-08-17 16:31:18 +00:00
Panu Matilainen
f0df84e119 Remove unused variable in debugedit 2011-05-15 22:55:00 +00:00
Alexey Tourbin
4334d6e700 debugedit.c: ported back to beecrypt API, based on rpm5.org 2011-01-30 03:06:03 +03:00
Alexey Tourbin
ce4f05af30 debugedit.c: imported from rpm.org
Recent changes:
7e7ca4b 2010-08-17 Anssi Hannula	debugedit: fix incorrect error messages regarding -b and -d
e6a0b0e 2010-05-10 Roland McGrath	Make debugedit -i recompute build ID only when any DWARF was actually changed.
c4b6362 2010-05-10 Roland McGrath	Whitespace fixups for tools/debugedit.c
71a7dd8 2009-06-16 Panu Matilainen	Add debugedit support for DWARF-3 (RhBug:505774)
2011-01-30 03:05:59 +03:00