public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Sam Warner <samuel.r.warner@me.com>
To: Simon Marchi <simon.marchi@polymtl.ca>
Cc: gdb@sourceware.org
Subject: Re: GDB and MacOS 11.4/BigSur
Date: Sun, 27 Jun 2021 15:44:44 -0700	[thread overview]
Message-ID: <E5D20A41-F89C-461A-9B9A-AD19A153ABC0@me.com> (raw)
In-Reply-To: <56e03cb6-efd1-4ac0-a355-30fb77684641@polymtl.ca>

Hi Simon,

   Thanks - yes - I’ll start with that patch first.  I obtain the same call stack

   My next two things to learn is how to get the equivalent of the symbol-server working, and then to setup a developer-environment for GDB.  Any pointers would be great.

Sam


Thread 2 hit Breakpoint 1, 0x00000001007cbcac in internal_error(char const*, int, char const*, ...) ()
(gdb) backtrace
#0  0x00000001007cbcac in internal_error(char const*, int, char const*, ...) ()
#1  0x0000000100397902 in inferior_thread() ()
#2  0x00000001002bdd41 in get_current_regcache() ()
#3  0x000000010033bc59 in darwin_solib_create_inferior_hook(int) ()
#4  0x000000010036555c in symbol_file_command(char const*, int) ()
#5  0x0000000100159047 in file_command(char const*, int) ()
#6  0x00000001000b4ec1 in cmd_func(cmd_list_element*, char const*, int) ()
#7  0x00000001003a0ce9 in execute_command(char const*, int) ()
#8  0x0000000100156348 in command_handler(char const*) ()
#9  0x000000010015661e in command_line_handler(std::__1::unique_ptr<char, gdb::xfree_deleter<char> >&&) ()
#10 0x0000000100155e1a in gdb_rl_callback_handler(char*) ()
#11 0x000000010040ec94 in rl_callback_read_char ()
#12 0x0000000100156d1d in gdb_rl_callback_read_char_wrapper_noexcept() ()
#13 0x0000000100155b1c in gdb_rl_callback_read_char_wrapper(void*) ()
#14 0x000000010015623f in stdin_event_handler(int, void*) ()
#15 0x00000001007cc257 in gdb_wait_for_event(int) ()
#16 0x00000001007cbe37 in gdb_do_one_event() ()
#17 0x00000001001fe000 in captured_command_loop() ()
#18 0x00000001001fd0e5 in gdb_main(captured_main_args*) ()
#19 0x000000010000266c in main ()
(gdb) 


> On Jun 27, 2021, at 3:27 PM, Simon Marchi <simon.marchi@polymtl.ca> wrote:
> 
> Well, for the issue you reported specifically, please see the patch I
> sent here, I think it fixes it:
> 
>    https://sourceware.org/pipermail/gdb-patches/2021-June/180396.html
> 
> But there were other bugs reported on Bugzilla for macOS, they might
> affect you as well.  If you stumble on one of them, you could try to
> write a fix for it and send a patch to the gdb-patches list, so that it
> gets reviewed and eventually merged.

> Simon
> 
> On 2021-06-27 4:32 p.m., Sam Warner wrote:
>> Hi Simon,
>>   Yeh, I’ve queued to do the actions for the first paragraph based on your input that few are working on resolving issues for GDB/MacOS.
>> 
>>    When you mentioned " to get patches in a good state and send them to the gdb-patches
>> list for review.” I thought, well, first order of business would be this (as I saw an individual had an attempt in 10.1 to fix a null-pointer).  Should I first help here?
> 
> 


  reply	other threads:[~2021-06-27 22:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 18:40 Sam Warner
2021-06-26 23:08 ` Simon Marchi
2021-06-26 23:27   ` Sam Warner
2021-06-27  0:51     ` Simon Marchi
2021-06-27  4:00       ` Simon Marchi
2021-06-27 20:32       ` Sam Warner
2021-06-27 22:27         ` Simon Marchi
2021-06-27 22:44           ` Sam Warner [this message]
2021-06-28  0:48             ` Simon Marchi
2021-06-28 18:10               ` Sam Warner
2021-06-28 21:51               ` Sam Warner
2021-06-29  0:03                 ` Sam Warner
2021-06-29  0:29                   ` Sam Warner
2021-06-29  1:34                     ` Sam Warner
2021-06-29  1:44                       ` Sam Warner
2021-06-29 14:04                         ` Simon Marchi
2021-06-29 14:38                           ` Sam Warner
2021-06-29 14:43                             ` Simon Marchi
2021-06-29 14:45                               ` Sam Warner
2021-06-29 14:59                                 ` Sam Warner
2021-06-29 15:17                                   ` Sam Warner
2021-06-29 15:23                                     ` Simon Marchi
2021-06-30 21:29                                       ` Sam Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E5D20A41-F89C-461A-9B9A-AD19A153ABC0@me.com \
    --to=samuel.r.warner@me.com \
    --cc=gdb@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).