Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* find seems to hang on bigger areas
@ 2024-06-07 13:55 Phil Phil via Gdb
  2024-06-07 14:06 ` Luis Machado via Gdb
  2024-06-26 17:34 ` Tom Tromey
  0 siblings, 2 replies; 4+ messages in thread
From: Phil Phil via Gdb @ 2024-06-07 13:55 UTC (permalink / raw)
  To: gdb

Greetings,

I try to search a relatively large memory area in gdb, something like this:

find /g  0x7f98f0b000, 0x7f99106000, 0x7f955c9390

GDB 11.1 Target: Aarch64 Host: x64

It doesn't finish even after hours. Can there anything be done?

Regards

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: find seems to hang on bigger areas
  2024-06-07 13:55 find seems to hang on bigger areas Phil Phil via Gdb
@ 2024-06-07 14:06 ` Luis Machado via Gdb
  2024-06-07 14:30   ` Phil Phil via Gdb
  2024-06-26 17:34 ` Tom Tromey
  1 sibling, 1 reply; 4+ messages in thread
From: Luis Machado via Gdb @ 2024-06-07 14:06 UTC (permalink / raw)
  To: Phil Phil, gdb

On 6/7/24 14:55, Phil Phil via Gdb wrote:
> Greetings,
> 
> I try to search a relatively large memory area in gdb, something like this:
> 
> find /g  0x7f98f0b000, 0x7f99106000, 0x7f955c9390
> 
> GDB 11.1 Target: Aarch64 Host: x64
> 
> It doesn't finish even after hours. Can there anything be done?
> 
> Regards

Is this remote debugging by any chance?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: find seems to hang on bigger areas
  2024-06-07 14:06 ` Luis Machado via Gdb
@ 2024-06-07 14:30   ` Phil Phil via Gdb
  0 siblings, 0 replies; 4+ messages in thread
From: Phil Phil via Gdb @ 2024-06-07 14:30 UTC (permalink / raw)
  To: Luis Machado, gdb

No, it's the same post mortem coredump analysis from my last post. Aarch64 core on an x64 system.
________________________________
From: Luis Machado <luis.machado@arm.com>
Sent: Friday, June 7, 2024 2:06 PM
To: Phil Phil <heidegg@hotmail.com>; gdb@sourceware.org <gdb@sourceware.org>
Subject: Re: find seems to hang on bigger areas

On 6/7/24 14:55, Phil Phil via Gdb wrote:
> Greetings,
>
> I try to search a relatively large memory area in gdb, something like this:
>
> find /g  0x7f98f0b000, 0x7f99106000, 0x7f955c9390
>
> GDB 11.1 Target: Aarch64 Host: x64
>
> It doesn't finish even after hours. Can there anything be done?
>
> Regards

Is this remote debugging by any chance?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: find seems to hang on bigger areas
  2024-06-07 13:55 find seems to hang on bigger areas Phil Phil via Gdb
  2024-06-07 14:06 ` Luis Machado via Gdb
@ 2024-06-26 17:34 ` Tom Tromey
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2024-06-26 17:34 UTC (permalink / raw)
  To: Phil Phil via Gdb; +Cc: Phil Phil

>>>>> "Phil" == Phil Phil via Gdb <gdb@sourceware.org> writes:

Phil> I try to search a relatively large memory area in gdb, something like this:
Phil> find /g  0x7f98f0b000, 0x7f99106000, 0x7f955c9390
Phil> GDB 11.1 Target: Aarch64 Host: x64
Phil> It doesn't finish even after hours. Can there anything be done?

It's only searching 2 Mb, so personally I would suspect a gdb bug of some kind.

If you can reproduce it with a simple test program (like allocate 2 Mb
and fill it, etc), please file a bug.

thanks,
Tom

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-26 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-07 13:55 find seems to hang on bigger areas Phil Phil via Gdb
2024-06-07 14:06 ` Luis Machado via Gdb
2024-06-07 14:30   ` Phil Phil via Gdb
2024-06-26 17:34 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox