parameters: (self, args, from_tty)
docstring: GDB Command API invoke.
docstring_summary: GDB Command API invoke.
docstring_tokens: GDB Command API invoke .
function: def invoke(self, args, from_tty):
          """GDB Command API invoke."""
          arglist = args.split()
          if len(arglist) != 1:
              print('Usage: load-debug-symbols <file_path>')
              return
  
          dbg_file = arglist[0]
          if not os.path.exists(dbg_file):
              print('{} is not a valid file path'.format(dbg_file))
              return
  
          try:
              section_map = parse_sections()
              load_sym_file_at_addrs(dbg_file, section_map)
          except Exception as err:  # pylint: disable=broad-except
              print(err)
function_tokens: def invoke ( self , args , from_tty ) : arglist = args . split ( ) if len ( arglist ) != 1 : print ( 'Usage: load-debug-symbols <file_path>' ) return dbg_file = arglist [ 0 ] if not os . path . exists ( dbg_file ) : print ( '{} is not a valid file path' . format ( dbg_file ) ) return try : section_map = parse_sections ( ) load_sym_file_at_addrs ( dbg_file , section_map ) except Exception as err : # pylint: disable=broad-except print ( err )