~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to gdb/i386-nat.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
   Low level functions to implement Oeprating System specific
4
4
   code to manipulate I386 debug registers.
5
5
 
6
 
   Copyright (C) 2009
7
 
   Free Software Foundation, Inc.
 
6
   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
8
7
 
9
8
   This file is part of GDB.
10
9
 
49
48
   functions are:
50
49
 
51
50
      set_control              -- set the debug control (DR7)
52
 
                                  register to a given value
 
51
                                  register to a given value for all LWPs
53
52
 
54
53
      set_addr                 -- put an address into one debug
55
 
                                  register
 
54
                                  register for all LWPs
56
55
 
57
56
      reset_addr               -- reset the address stored in
58
 
                                  one debug register
 
57
                                  one debug register for all LWPs
59
58
 
60
59
      get_status               -- return the value of the debug
61
 
                                  status (DR6) register.
 
60
                                  status (DR6) register for current LWP
 
61
 
 
62
      unset_status             -- unset the specified bits of the debug
 
63
                                  status (DR6) register for all LWPs
62
64
 
63
65
   Additionally, the native file should set the debug_register_length
64
66
   field to 4 or 8 depending on the number of bytes used for
70
72
    void (*set_addr) (int, CORE_ADDR);
71
73
    void (*reset_addr) (int);
72
74
    unsigned long (*get_status) (void);
 
75
    void (*unset_status) (unsigned long);
73
76
    int debug_register_length;
74
77
  };
75
78