Re: [PATCH 5/5] Cygwin: add AT_EMPTY_PATH fix to release message

2023-07-28 Thread Pedro Alves
On 2023-07-12 13:08, Corinna Vinschen wrote: > +- Fix AT_EMPTY_PATH handling in fchmodat and fstatat if dirfd referres to referres -> refers

Re: [PATCH] Cygwin: Improve FAQ on early breakpoint for ASLR

2022-11-04 Thread Pedro Alves
On 2022-11-04 12:53 p.m., Jon Turney wrote: > + > + (It may be necessary to use the gdb command set > + disable-randomization on to turn off ASLR for the debugee to > + prevent the base address getting randomized.) > + > > Typo: debugee -> debuggee Note that "on" is the default.

Re: [PATCH] Add pthread_getname_np, pthread_setname_np

2012-02-24 Thread Pedro Alves
don't know if there's a native method that's closer to pthread_setname_np's semantics. -- Pedro Alves

Re: [PATCH] better stackdumps

2008-03-19 Thread Pedro Alves
ctions, the backtrace used by this method looks very > bad and doesn't give useful information for routines in Cygwin -- and > being able to do that processing is much easier when you're in the > actual module that has the wrappers as you can simply test against > &_sigfe. Is this something that would be nice to have in gdb then? -- Pedro Alves

Re: Rewrite/fix cygwin1.dbg generation

2007-11-08 Thread Pedro Alves
Christopher Faylor wrote: Is there some reason why you can't just put the '-R' in the previous objcopy? No reason. I see you've already committed that change. Thanks! -- Cheers, Pedro Alves

Re: Rewrite/fix cygwin1.dbg generation

2007-11-07 Thread Pedro Alves
CONTENTS, READONLY, DEBUGGING, EXCLUDE 12 .stabstr 006b00a6 61493000 61493000 00213180 2**0 CONTENTS, READONLY, DEBUGGING, EXCLUDE Cheers, Pedro Alves 2007-11-07 Pedro Alves <[EMAIL PROTECTED]> * dllfixdbg: Pass --only-keep-debug to objcopy, instead of sele

Re: Rewrite/fix cygwin1.dbg generation

2007-11-07 Thread Pedro Alves
Christopher Faylor wrote: On Mon, Nov 05, 2007 at 12:20:48PM +0100, Corinna Vinschen wrote: On Nov 5 10:19, Pedro Alves wrote: It occurred me that the problem may be that ld is accounting for the virtual address and virtual size of the last section to write the SizeOfImage field in the PE

Re: Rewrite/fix cygwin1.dbg generation

2007-11-05 Thread Pedro Alves
Corinna Vinschen wrote: > On Nov 4 04:00, Pedro Alves wrote: > > > > Ah, got it. VirtualAlloc fails on the first _csbrk, since it > > is tripping on the VMA of .gnu_debuglink ... I assumed it would > > not be a problem, since it isn't ALLOCced, but oh well.

Re: Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
>I tried adding an EXCLUDE/NOLOAD flag to .gnu_debuglink, but no >can do. "on the first _csbrk that tries to grow the heap," Cheers, Pedro Alves

Re: Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
UDE/NOLOAD flag to .gnu_debuglink, but no can do. 10 .cygheap 000a 611e 611e 2**2 ALLOC 11 .gnu_debuglink 0010 6128 6128 001d0a00 2**2 CONTENTS, READONLY, DEBUGGING I'll come up with a different fix. Cheers, Pedro Alves

Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
${OBJCOPY} --add-gnu-debuglink=${DBG} stripped-${DLL} ${DLL} rm -f stripped-${DLL} Is the patch OK? Cheers, Pedro Alves 2007-11-03 Pedro Alves <[EMAIL PROTECTED]> * Makefile.in ($(TEST_DLL_NAME)): Pass $(STRIP) instead of $(OBJDUMP) to dllfixdbg. * dllfixdbg: Rewrite as a shel

Re: Dumper produces unuseable dumps (fix).

2007-05-26 Thread Pedro Alves
Cheers, Pedro Alves 2007-05-26 Pedro Alves <[EMAIL PROTECTED]> * dumper.cc (version): Bump to 1.15. (dumper::prepare_core_dump): Record a phdr for each section. --- dumper.cc | 63 ++ 1 file changed, 59 in

Re: Dumper produces unuseable dumps (fix).

2007-05-21 Thread Pedro Alves
Pedro Alves wrote: I'll have new papers from my employer in a few days, and I'll resubmit them. Just to let you know: Papers signed and sent. Let's hope this time the plain doesn't go any near the Bermuda Triangle. Please ping me when the papers are in; I may have an u

Re: [Patch] Segfault on unaligned lseek() on /dev/sdX (was: [ITP] ddrescue 1.3)

2007-05-19 Thread Pedro Alves
Christian Franke escreveu: Pedro Alves wrote: Christopher Faylor escreveu: On Fri, May 18, 2007 at 09:02:15PM +0200, Christian Franke wrote: Hi, Cygwin 1.5.24-2 segfaults on unaligned lseek() on raw block devices with sector size >512 bytes. Testcases: $ dd skip=1000 bs=2047 if=/dev/s

Re: [Patch] Segfault on unaligned lseek() on /dev/sdX (was: [ITP] ddrescue 1.3)

2007-05-19 Thread Pedro Alves
from that. Or use alloca instead? - char buf[512]; + char *buf = (char *) alloca (512); Cheers, Pedro Alves

Re: Dumper produces unuseable dumps (fix).

2007-05-17 Thread Pedro Alves
a few days, and I'll resubmit them. To be sure, the snail address at: http://cygwin.com/assign.txt ... is still the correct one, right? Cheers, Pedro Alves

Re: Dumper produces unuseable dumps (fix).

2007-04-27 Thread Pedro Alves
ink to the assignment form. As soon as we got the signed form from you, the patch can go in. Ok, form signed and sent. Thanks. Cheers, Pedro Alves

Dumper produces unuseable dumps (fix).

2007-04-26 Thread Pedro Alves
7; loop, and that gives an ok trace. I also confirmed that I could print local and global variables, and that they came up with the expected values. Could this fix be considered for inclusion, please? Cheers, Pedro Alves 2007-04-26 Pedro Alves <[EMAIL PROTECTED]>