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

« back to all changes in this revision

Viewing changes to gdb/rs6000-tdep.c

  • 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:
1
1
/* Target-dependent code for GDB, the GNU debugger.
2
2
 
3
3
   Copyright (C) 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
4
 
   1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
 
   Free Software Foundation, Inc.
 
4
   1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
 
5
   2010 Free Software Foundation, Inc.
6
6
 
7
7
   This file is part of GDB.
8
8
 
1084
1084
ppc_deal_with_atomic_sequence (struct frame_info *frame)
1085
1085
{
1086
1086
  struct gdbarch *gdbarch = get_frame_arch (frame);
 
1087
  struct address_space *aspace = get_frame_address_space (frame);
1087
1088
  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
1088
1089
  CORE_ADDR pc = get_frame_pc (frame);
1089
1090
  CORE_ADDR breaks[2] = {-1, -1};
1157
1158
 
1158
1159
  /* Effectively inserts the breakpoints.  */
1159
1160
  for (index = 0; index <= last_breakpoint; index++)
1160
 
    insert_single_step_breakpoint (gdbarch, breaks[index]);
 
1161
    insert_single_step_breakpoint (gdbarch, aspace, breaks[index]);
1161
1162
 
1162
1163
  return 1;
1163
1164
}