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
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
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: Issue with GDB under Cygwin and XP

2008-02-18 Thread Pedro Alves
A Sunday 17 February 2008 03:37:38, Christopher Faylor wrote: On Sun, Feb 17, 2008 at 03:19:02AM +, Pedro Alves wrote: http://sourceware.org/ml/gdb-patches/2007-11/msg00567.html Was that patch applied? AFAICT from the ChangeLog's it wasn't. If not, have you pinged anyone about

Re: Issue with GDB under Cygwin and XP

2008-02-18 Thread Pedro Alves
without html munging by clicking Raw text link at the top of the page. You could also use the mailer support for retrieving messages but would be harder I guess. Or, you could wait a few days until I submit new patches upstream. -- Pedro Alves -- Unsubscribe info: http://cygwin.com/ml

Re: Issue with GDB under Cygwin and XP

2008-02-16 Thread Pedro Alves
cygwin. gcc 4.2.3 http://sourceware.org/ml/gdb-patches/2007-11/msg00567.html -- Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: 1.5.24-2: unalbe to get a core Dump file

2007-12-05 Thread Pedro Alves
bfd -- it crashes in that case. The latest fixes were done with a bfd from cvs. I haven't tried the latest test version, but should have the same problem. -- Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

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
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-07 Thread Pedro Alves
, 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 selecting the sections manually

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... I tried adding an EXCLUDE/NOLOAD flag

Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
} ${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 shell script using strip's --strip-debug and --only-keep-debug

Re: Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
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

Re: Rewrite/fix cygwin1.dbg generation

2007-11-03 Thread Pedro Alves
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: [gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-16 Thread Pedro Alves
René Berber wrote: Pedro Alves wrote: Corinna Vinschen wrote: Gdb 6.6 (installed with Insight 6.6) doesn't seem to have the problem: Unfortunatelly it does. :( If you are seing a different output, it may be because you built the test app with different -O setting. -O0 is better

Re: [gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-15 Thread Pedro Alves
Corinna Vinschen wrote: I could reproduce it on Win2K SP4, Vista, and under WOW64 on Vista 64. Thank you. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: [gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-14 Thread Pedro Alves
with access to a Windows != XP machine could do the same test. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: [gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-13 Thread Pedro Alves
Christopher Faylor escreveu: On Mon, Oct 08, 2007 at 02:43:31PM +0200, Corinna Vinschen wrote: On Oct 3 01:47, Pedro Alves wrote: By a long shot, Cygwin doesn't do anything funny like hooking GetThreadContext, does it? cgf might be better suited to answer this, but AFAICS, Cygwin doesn't

[gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-02 Thread Pedro Alves
? You can test with stock Cygwin gcc and gdb. For the brave souls that want to test a workaround, the fix_hwatch.diff patch applies to gdb's CVS head. It isn't cleaned up, but shows what I've been testing if you're curious - the important change is in cygwin_get_dr6. Thanks! Cheers, Pedro Alves

Re: Latest mutt (1.4.2.2-1) does not work on (my) XP

2007-08-21 Thread Pedro Alves
Attached cygcheck output On Mon, Aug 20, 2007 at 10:57:52PM +0100, Pedro Alves wrote: Hello. I can't run latest mutt, version mutt-1.4.2.2-1 on my XP. For every operation I try to do I get an error like 'cannot create temporary file'. It's not a permission problem... files

Re: Latest mutt (1.4.2.2-1) does not work on (my) XP

2007-08-21 Thread Pedro Alves
-- Pedro Alves [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Latest mutt (1.4.2.2-1) does not work on (my) XP

2007-08-20 Thread Pedro Alves
works. I don't know what changed, but the main binary of 1.4.2.1i-1 has 539136 bytes and 1.4.2.2-1 has 1554944 bytes (3 times more). Tips appreciated. Thanks -- Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Latest mutt (1.4.2.2-1) does not work on (my) XP

2007-08-20 Thread Pedro Alves
, pressing '?' for help. Also, pressing enter to see a message does not work, always returns the same error and a file with size 0 is created in the temp dir gwin.com/faq/ -- Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: hacked package on server

2007-07-16 Thread Pedro Alves
be for a patch to show up implementing Thorsten's suggestion that cfg pointed out. Until someone steps up to do the work, this discussion is just going to fade out and die. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: hacked package on server

2007-07-16 Thread Pedro Alves
+ + cancel + ++ +-+ ... Makes it much easier to understand what the software's up to. And, paint the pushbuttons the same color you've done your bikeshed. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: hacked package on server

2007-07-16 Thread Pedro Alves
! Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Dumper produces unuseable dumps (fix).

2007-05-26 Thread Pedro Alves
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 insertions(+), 4 deletions

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 updated patch

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

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

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/scd0

Re: Dumper produces unuseable dumps (fix).

2007-05-17 Thread Pedro Alves
, 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

Dumper produces unuseable dumps (fix).

2007-04-26 Thread Pedro Alves
. Could this fix be considered for inclusion, please? Cheers, Pedro Alves 2007-04-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

Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Pedro Alves
Dave Korn wrote: Ctrl+D is a better way to close the file actually. If you mean EOF, why not *say* EOF? :-) Unless you type it one time too much, and ... uupps, there goes the shell :) Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Re: GDB Ctrl-C Interrupt Fails WORKAROUND

2007-03-04 Thread Pedro Alves
wonder why it never went into cygwin1.dll. Chris, was it lack of time, or is there any major stumbling block? Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: missing definition of __STRING macro in standard cygwin headers

2007-03-03 Thread Pedro Alves
!= #define __STRING(x) #x But I do agree with Eric. Anyway, if chosen to change the FAAC side of the fence, instead of: #ifdef __CYGWIN__ #define __STRING ... #endif It would be perhaps better to: #ifndef __STRING #define __STRING ... #endif Cheers, Pedro Alves -- Unsubscribe info: http

Re: missing definition of __STRING macro in standard cygwin headers

2007-03-03 Thread Pedro Alves
Brian Dessent wrote: Pedro Alves wrote: It wouldn't work. #define __STRING #x != #define __STRING(x) #x I am just quoting what the OP said, which was: What the web link basically says that cygwin doesn't have #define __STRING #x defined in any of the standard header files which means some

Re: GDB Ctrl-C Interrupt Fails WORKAROUND

2007-02-28 Thread Pedro Alves
to DebugBreak or something similar. The worst case would be that a dll would have to be injected to load a function that does the DebugBreak in the debuggee's address space. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: GDB Ctrl-C Interrupt Fails WORKAROUND

2007-02-28 Thread Pedro Alves
Christopher Faylor escreveu: On Thu, Mar 01, 2007 at 12:15:12AM +, Pedro Alves wrote: Is there a reason DebugBreakProcess can't be used from inside gdb if sending a ctrl-c with GenerateConsoleCtrlEvent (CTRL_C_EVENT, pid) doesn't work? I suppose that it could be used for that but it might

Re: /dev/null timing and clock skew problems

2007-02-27 Thread Pedro Alves
clock skews. Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: /dev/null timing and clock skew problems

2007-02-26 Thread Pedro Alves
, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: patch -e from stdin broken?

2007-02-21 Thread Pedro Alves
/Temp/poh0o0Rq: No such file or directory Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: patch -e from stdin broken?

2007-02-21 Thread Pedro Alves
Hi Igor, Igor Peshansky wrote: On Wed, 21 Feb 2007, Pedro Alves wrote: (Here is the original message I tried to send earlier, sorry for the mess.) Hi guys, While looking at why 'quilt annotate' is broken in Cygwin, I found something fishy on 'patch' in ed mode. Looks like reading the patch