OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [gdbinit.in] - Blame information for rev 387

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
echo Setting up the environment for debugging gdb.\n
2
 
3
set complaints 1
4
 
5
b internal_error
6
 
7
b info_command
8
commands
9
        silent
10
        return
11
end
12
 
13
dir @srcdir@/../libiberty
14
dir @srcdir@/../bfd
15
dir @srcdir@
16
dir .
17
set prompt (top-gdb)
18
 
19
define pdie
20
  if $argc == 1
21
    call dump_die ($arg0, 1)
22
  else
23
    if $argc == 2
24
      call dump_die ($arg0, $arg1)
25
    else
26
      printf "Syntax: pdie die [depth]\n"
27
    end
28
  end
29
end
30
 
31
document pdie
32
Pretty print a DWARF DIE.
33
Syntax: pdie die [depth]
34
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.