Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8599079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:18:44+00:00 2026-06-12T01:18:44+00:00

I am working on graphical GDB frontend and I am curious if there is

  • 0

I am working on graphical GDB frontend and I am curious if there is a way to obtain full executable name from a remote target assuming I don’t have executable loaded in my local debugger.

I’m fine with using either CLI or MI.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:18:46+00:00Added an answer on June 12, 2026 at 1:18 am

    You can get the PID through “info inferiors” and get ps(1) like output through “info os processes”. You’ll then have to search the whole process list to find the matching PID and get its command line:

    (gdb) info inferiors 
      Num  Description       Executable        
    * 1    process 14382
    (gdb) info os processes
    pid        user       command    cores      
    1          root       /usr/lib/systemd/systemd --system --deserialize 22 1
    2          root       [kthreadd] 3          
    ......
    

    I checked the GDB source code, the relevant functions for “info os process” are info_osdata_command() and get_osdata(). There’s no builtin way to filter on a PID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a 3D graphical application in Java using the Java 3D API.
I'm working on a program that makes a graphical model of Conway's Game of
I'm working on a graphical application which looks something like this: while (Simulator.simulating) {
I am working on the graphical user interface of a machine. It uses comboboxes
I'm working on a graphical interface which connects a 8051 with the computer through
im working in a simple graphical library in C with turbo C++ because im
We're working on creating a specialized graphical editor for our enterprise applications. We've looked
I'm working on a project that involves creating a custom graphical editor. The graphical
I am working in graphical application that uses objects and groups. So, items can
Has anyone got the Graphical Layout working correctly in either Eclipse 3.5 or 3.6

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.