remote_gdb.cc (8332:23711432221f) | remote_gdb.cc (8641:4d3ecac1abec) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 634 unchanged lines hidden (view full) --- 643 bool ret; 644 645 if (!attached) 646 return false; 647 648 bufferSize = gdbregs.bytes() * 2 + 256; 649 buffer = (char*)malloc(bufferSize); 650 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 634 unchanged lines hidden (view full) --- 643 bool ret; 644 645 if (!attached) 646 return false; 647 648 bufferSize = gdbregs.bytes() * 2 + 256; 649 buffer = (char*)malloc(bufferSize); 650 |
651 TheISA::PCState pc = context->pcState(); 652 DPRINTF(GDBMisc, "trap: PC=%s\n", pc); | 651 DPRINTF(GDBMisc, "trap: PC=%s\n", context->pcState()); |
653 654 clearSingleStep(); 655 656 /* 657 * The first entry to this function is normally through 658 * a breakpoint trap in kgdb_connect(), in which case we 659 * must advance past the breakpoint because gdb will not. 660 * --- 365 unchanged lines hidden --- | 652 653 clearSingleStep(); 654 655 /* 656 * The first entry to this function is normally through 657 * a breakpoint trap in kgdb_connect(), in which case we 658 * must advance past the breakpoint because gdb will not. 659 * --- 365 unchanged lines hidden --- |