Re: GDB debugging rgw_main.cc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Either run radosgw with the '-f' option or apply the gdb commands for 'follow-fork-mode' etc. 

On Sun, Apr 19, 2020 at 9:00 PM Abhinav Singh <singhabhinav0796@xxxxxxxxx> wrote:
Hello there,

I am trying to understand the process flow of rgw part of ceph with the help of gdb, but I am stuck at a place where the program exits when they call a function global_init_prefork() after this function it is shwoing that main thread has exited successfully(detail is given below) and gdb stops , I am never able to make past this step.To get to my function through gdb I have to cross this function before.

Here is the image
Screenshot from 2020-04-19 16-13-17.png

A strange thing is when I put output buffer after that function and run cluster then the output is coming, but when doing with gdb the output buffer is not showing (outpur buffer means I writing some text in a file to check whether the program is reaching that part of the code)

Any suggestions will be of great help :)
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx


--
Cheers,
Brad
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux