mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 10:23:04 +00:00
17 lines
577 B
Diff
17 lines
577 B
Diff
--- rpm-5.4.4/tools/debugedit.c.stabs_fail~ 2011-11-28 16:26:30.102211728 +0100
|
|
+++ rpm-5.4.4/tools/debugedit.c 2011-11-28 16:29:10.859401835 +0100
|
|
@@ -1604,10 +1604,11 @@ main (int argc, char *argv[])
|
|
case SHT_MIPS_DWARF:
|
|
name = strptr (dso, dso->ehdr.e_shstrndx, dso->shdr[i].sh_name);
|
|
/* TODO: Handle stabs */
|
|
-#if 0
|
|
if (strcmp (name, ".stab") == 0)
|
|
- edit_stabs (dso, i);
|
|
-#endif
|
|
+ {
|
|
+ fprintf (stderr, "Stabs debuginfo not supported: %s\n", file);
|
|
+ exit (1);
|
|
+ }
|
|
if (strcmp (name, ".debug_info") == 0)
|
|
edit_dwarf2 (dso);
|
|
|