public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "zbigniew2011 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/31008] „Layout” crashes gdb 13.2
Date: Sun, 05 Nov 2023 19:45:37 +0000	[thread overview]
Message-ID: <bug-31008-4717-AX257TUzhh@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31008-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31008

--- Comment #16 from Zbigniew <zbigniew2011 at gmail dot com> ---
readelf -WS /usr/bin/gdb gives the following answer:


There are 31 section headers, starting at offset 0xce7bd0:

Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg
Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00     
0   0  0
  [ 1] .interp           PROGBITS        0000000000400350 000350 00001c 00   A 
0   0  1
  [ 2] .note.gnu.property NOTE            0000000000400370 000370 000030 00   A
 0   0  8
  [ 3] .note.ABI-tag     NOTE            00000000004003a0 0003a0 000020 00   A 
0   0  4
  [ 4] .hash             HASH            00000000004003c0 0003c0 00205c 04   A 
6   0  8
  [ 5] .gnu.hash         GNU_HASH        0000000000402420 002420 000528 00   A 
6   0  8
  [ 6] .dynsym           DYNSYM          0000000000402948 002948 006150 18   A 
7   1  8
  [ 7] .dynstr           STRTAB          0000000000408a98 008a98 005285 00   A 
0   0  1
  [ 8] .gnu.version      VERSYM          000000000040dd1e 00dd1e 00081c 02   A 
6   0  2
  [ 9] .gnu.version_r    VERNEED         000000000040e540 00e540 000370 00   A 
7  10  8
  [10] .rela.dyn         RELA            000000000040e8b0 00e8b0 0009d8 18   A 
6   0  8
  [11] .rela.plt         RELA            000000000040f288 00f288 005328 18  AI 
6  26  8
  [12] .init             PROGBITS        0000000000415000 015000 000017 00  AX 
0   0  4
  [13] .plt              PROGBITS        0000000000415020 015020 003780 10  AX 
0   0 16
  [14] .text             PROGBITS        00000000004187a0 0187a0 7d31ce 00  AX 
0   0 16
  [15] .fini             PROGBITS        0000000000beb970 7eb970 000009 00  AX 
0   0  4
  [16] .rodata           PROGBITS        0000000000bec000 7ec000 23e34a 00   A 
0   0 32
  [17] .eh_frame_hdr     PROGBITS        0000000000e2a34c a2a34c 079664 00   A 
0   0  4
  [18] .eh_frame         PROGBITS        0000000000ea39b0 aa39b0 2039e0 00   A 
0   0  8
  [19] .gcc_except_table PROGBITS        00000000010a7390 ca7390 02b410 00   A 
0   0  4
  [20] .tbss             NOBITS          00000000010d4430 cd3430 000410 00 WAT 
0   0  8
  [21] .init_array       INIT_ARRAY      00000000010d4430 cd3430 0004c8 08  WA 
0   0  8
  [22] .fini_array       FINI_ARRAY      00000000010d48f8 cd38f8 000008 08  WA 
0   0  8
  [23] .data.rel.ro      PROGBITS        00000000010d4900 cd3900 000388 00  WA 
0   0 32
  [24] .dynamic          DYNAMIC         00000000010d4c88 cd3c88 000340 10  WA 
7   0  8
  [25] .got              PROGBITS        00000000010d4fc8 cd3fc8 000030 08  WA 
0   0  8
  [26] .got.plt          PROGBITS        00000000010d5000 cd4000 001bd0 08  WA 
0   0  8
  [27] .data             PROGBITS        00000000010d6be0 cd5be0 011ec2 00  WA 
0   0 32
  [28] .bss              NOBITS          00000000010e8ac0 ce7aa2 023e60 00  WA 
0   0 32
  [29] .comment          PROGBITS        0000000000000000 ce7aa2 000012 01  MS 
0   0  1
  [30] .shstrtab         STRTAB          0000000000000000 ce7ab4 000118 00     
0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  R (retain), D (mbind), l (large), p (processor specific)


Is it clean, or „dirty”?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-11-05 19:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30 12:03 [Bug gdb/31008] New: " zbigniew2011 at gmail dot com
2023-10-30 13:06 ` [Bug gdb/31008] " zbigniew2011 at gmail dot com
2023-10-30 14:20 ` tromey at sourceware dot org
2023-10-30 15:49 ` zbigniew2011 at gmail dot com
2023-10-30 19:46 ` tromey at sourceware dot org
2023-10-30 20:22 ` zbigniew2011 at gmail dot com
2023-10-31 17:20 ` tromey at sourceware dot org
2023-10-31 17:25 ` zbigniew2011 at gmail dot com
2023-11-02  8:47 ` zbigniew2011 at gmail dot com
2023-11-02 12:19 ` tromey at sourceware dot org
2023-11-03 15:40 ` zbigniew2011 at gmail dot com
2023-11-05 16:09 ` tromey at sourceware dot org
2023-11-05 17:00 ` zbigniew2011 at gmail dot com
2023-11-05 18:10 ` tromey at sourceware dot org
2023-11-05 18:18 ` zbigniew2011 at gmail dot com
2023-11-05 19:26 ` tromey at sourceware dot org
2023-11-05 19:45 ` zbigniew2011 at gmail dot com [this message]
2023-11-05 22:49 ` tromey at sourceware dot org
2023-11-06  8:48 ` zbigniew2011 at gmail dot com
2023-11-08  9:18 ` zbigniew2011 at gmail dot com
2023-11-10 22:04 ` tromey at sourceware dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31008-4717-AX257TUzhh@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).