This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR/2386 [2/2]: MinGW attach to process without an exec file


Christopher Faylor wrote:
In many cases they are the same and, when they aren't, there should
still be a /proc entry for the windows pid associated with the Cygwin
process, which is what I was saying above.


> For exec'ed stubs you won't see the windows pid entry if you 'ls /proc' > but it is there if you query it.

Ah, OK. That's surprising. Nice.

Rather than go back and forth on this, I've taken a stab at implementing
what I'm trying to get across here. I don't think there is any reason to
now add Windows 9x support for features that have been missing for years
so I didn't do that.

I don't know if they were missing from the non FSF MinGW port of gdb, but I won't go look either. Sure. What happened was that now if the exec file wasn't found, gdb would not see the dlls, since now the target_so_ops are associated with current_gdbarch. That's what the PR is about. Well, the 1/2 part of the patch also fixes that case, so it's OK.

I'll check this in unless there are serious objections.


No, not from me. Thanks,


--
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]