public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "chris_douglas_email at yahoo dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/31152] New: Formalise unintened functionality in version 9.1
Date: Tue, 12 Dec 2023 18:16:45 +0000	[thread overview]
Message-ID: <bug-31152-4717@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 31152
           Summary: Formalise unintened functionality in version 9.1
           Product: gdb
           Version: 14.1
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: chris_douglas_email at yahoo dot com
  Target Milestone: ---

Most of the time (approximately 95%) I use a gdb binary provided by the Linux
distribution I am using. The remainder of the time, I cross compile a source
release for an obscure processor, in order to debug on “bare metal”
(re-purposing old tech so all I have to start with is a Linux kernel and a
terminal of some kind).

The first time I did this I used release 9.1 and cross compiling a static
executable gave me what I needed. This time (after cross compiling glib etc) I
tried the same with version 14.1 and the box restarted indicating a kernel
error. I rebuilt 9.1 and started to debug 14.1 and found it was trying to exec
iconv. A quick hack and it compiled with the dummy iconv used for a win32 build
only to have a segment trap because the ifdef path for linux used a pointer set
up through the exec iconv path.

I have a workaround because I can use version 9.1 (possibly others, I have not
checked) until GCC adopts a version of dwarf this version does not understand,
so I believe this is low priority.

I wish to request an enhancement of a configuration option for “bare metal”
which errors at some point (even compile or link) if more than a linux kernel
is required to run the executable.

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

             reply	other threads:[~2023-12-12 18:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 18:16 chris_douglas_email at yahoo dot com [this message]
2023-12-12 20:31 ` [Bug gdb/31152] " tromey at sourceware dot org
2023-12-12 20:31 ` tromey at sourceware dot org
2023-12-27 19:22 ` chris_douglas_email at yahoo dot com
2023-12-28 16:44 ` tromey at sourceware dot org
2023-12-30 20:12 ` chris_douglas_email at yahoo dot com
2023-12-30 22:34 ` tromey at sourceware dot org
2023-12-31 20:32 ` chris_douglas_email at yahoo dot com
2024-01-14 16:45 ` chris_douglas_email at yahoo dot com

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-31152-4717@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).