* Re: [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section [not found] ` <fm-32642-202404191039259a5b01c9539d209231-2oN7gY@errorhandling.siemens-energy.com> @ 2024-04-23 13:28 ` Luis Machado 2024-04-23 14:51 ` Sandra Loosemore 0 siblings, 1 reply; 4+ messages in thread From: Luis Machado @ 2024-04-23 13:28 UTC (permalink / raw) To: Moritz Strübe, gdb-patches; +Cc: binutils, sloosemore Hi, I just spotted Sandra's message [1] about nios2 deprecation. Do we have plans for deprecating such support in binutils/gdb as well, for the sake of reducing future maintenance burden? On 4/19/24 11:39, Moritz Strübe wrote: > The coredumps of the current kernel are larger. > --- > bfd/elf32-nios2.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c > index 806ec314c82..3d0fa6fbf27 100644 > --- a/bfd/elf32-nios2.c > +++ b/bfd/elf32-nios2.c > @@ -1921,7 +1921,18 @@ nios2_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) > { > default: > return false; > + case 272: /* Linux/Nios II */ > + /* pr_cursig */ > + elf_tdata (abfd)->core->signal = bfd_get_16 (abfd, note->descdata + 12); > + > + /* pr_pid */ > + elf_tdata (abfd)->core->pid = bfd_get_32 (abfd, note->descdata + 24); > > + /* pr_reg */ > + offset = 72; > + size = 196; > + > + break; > case 212: /* Linux/Nios II */ > /* pr_cursig */ > elf_tdata (abfd)->core->signal = bfd_get_16 (abfd, note->descdata + 12); [1] https://gcc.gnu.org/pipermail/gcc/2024-April/243749.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section 2024-04-23 13:28 ` [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section Luis Machado @ 2024-04-23 14:51 ` Sandra Loosemore 2024-04-23 15:31 ` Simon Marchi 2024-04-23 15:32 ` Luis Machado 0 siblings, 2 replies; 4+ messages in thread From: Sandra Loosemore @ 2024-04-23 14:51 UTC (permalink / raw) To: Luis Machado, Moritz Strübe, gdb-patches; +Cc: binutils On 4/23/24 07:28, Luis Machado wrote: > Hi, > > I just spotted Sandra's message [1] about nios2 deprecation. > > Do we have plans for deprecating such support in binutils/gdb as well, for the > sake of reducing future maintenance burden? Yes, I plan to take care of producing patches to remove the nios2 port entirely from binutils/gdb, as well as from gcc, a little bit farther down the line. I'm not sure of the best timing with respect to upcoming releases, and at the moment I am swamped with other tasks anyway, but it's definitely on my list of things to do -- I don't want to leave this as a pointless maintenance burden for others. -Sandra ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section 2024-04-23 14:51 ` Sandra Loosemore @ 2024-04-23 15:31 ` Simon Marchi 2024-04-23 15:32 ` Luis Machado 1 sibling, 0 replies; 4+ messages in thread From: Simon Marchi @ 2024-04-23 15:31 UTC (permalink / raw) To: Sandra Loosemore, Luis Machado, Moritz Strübe, gdb-patches; +Cc: binutils On 2024-04-23 10:51, Sandra Loosemore wrote: > On 4/23/24 07:28, Luis Machado wrote: >> Hi, >> >> I just spotted Sandra's message [1] about nios2 deprecation. >> >> Do we have plans for deprecating such support in binutils/gdb as well, for the >> sake of reducing future maintenance burden? > > Yes, I plan to take care of producing patches to remove the nios2 port entirely from binutils/gdb, as well as from gcc, a little bit farther down the line. I'm not sure of the best timing with respect to upcoming releases, and at the moment I am swamped with other tasks anyway, but it's definitely on my list of things to do -- I don't want to leave this as a pointless maintenance burden for others. > > -Sandra Thanks a lot for being proactive with this. Simon ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section 2024-04-23 14:51 ` Sandra Loosemore 2024-04-23 15:31 ` Simon Marchi @ 2024-04-23 15:32 ` Luis Machado 1 sibling, 0 replies; 4+ messages in thread From: Luis Machado @ 2024-04-23 15:32 UTC (permalink / raw) To: Sandra Loosemore, Moritz Strübe, gdb-patches; +Cc: binutils On 4/23/24 15:51, Sandra Loosemore wrote: > On 4/23/24 07:28, Luis Machado wrote: >> Hi, >> >> I just spotted Sandra's message [1] about nios2 deprecation. >> >> Do we have plans for deprecating such support in binutils/gdb as well, for the >> sake of reducing future maintenance burden? > > Yes, I plan to take care of producing patches to remove the nios2 port entirely from binutils/gdb, as well as from gcc, a little bit farther down the line. I'm not sure of the best timing with respect to upcoming releases, and at the moment I am swamped with other tasks anyway, but it's definitely on my list of things to do -- I don't want to leave this as a pointless maintenance burden for others. > > -Sandra Great. Thanks for the update Sandra. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-23 15:32 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20240419103922.3621961-1-moritz.struebe@siemens-energy.com> [not found] ` <fm-32642-202404191039259a5b01c9539d209231-2oN7gY@errorhandling.siemens-energy.com> 2024-04-23 13:28 ` [PATCH 1/2] Nios2, libbfd: Support new coredump .reg section Luis Machado 2024-04-23 14:51 ` Sandra Loosemore 2024-04-23 15:31 ` Simon Marchi 2024-04-23 15:32 ` Luis Machado
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).