> From: Gavin Smith <[email protected]>
> Date: Tue, 4 Apr 2023 10:34:23 +0100
> Cc: Eli Zaretskii <[email protected]>, [email protected]
>
> On Tue, Apr 04, 2023 at 09:35:07AM +0200, Arash Esbati wrote:
> > Eli Zaretskii <[email protected]> writes:
> >
> > > What do you get from rpl_nl_langinfo in your case, and what happens in
> > > copy_converting, where degrade_utf8 is supposed to be called when
> > > Unicode quotes aren't supported?
> >
> > Sorry, I don't follow. What should I do in order to answer the question
> > above?
>
> This would require using a debugger such as gdb or inserting debugging
> print statements into the source code of the program.
Yes.
> Because info uses the terminal for display, it is usually best to debug it
> from a separate terminal window. I use a bash function for this:
>
> function attach () {
> gdb $1 `pgrep $1`
> }
>
> and run "attach ginfo" to attach to a running ginfo instance.
There's an easier way:
(gdb) ./ginfo.exe
(gdb) set new-console 1
(gdb) run <whatever>
Then Info gets its own separate console, and you can use GDB
conveniently from its original terminal. This works on Windows.
> This is harder than it used to be on many GNU/Linux distributions.
> Here's a Stack Exchange post I found about it:
>
> https://askubuntu.com/questions/41629/after-upgrade-gdb-wont-attach-to-process
No such madness on Windows, thank goodness. At least not yet.