bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2


From: Eli Zaretskii
Subject: Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2
Date: Tue, 04 Apr 2023 15:11:01 +0300

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Tue, 4 Apr 2023 10:34:23 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>, bug-texinfo@gnu.org
> 
> On Tue, Apr 04, 2023 at 09:35:07AM +0200, Arash Esbati wrote:
> > Eli Zaretskii <eliz@gnu.org> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]