Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: gdb/nacl-manifest.c

Issue 10833034: Recalculate stack frames after nacl-irt command. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: style Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Handle Native Client manifest files. 1 /* Handle Native Client manifest files.
2 2
3 Copyright (C) 2011 Free Software Foundation, Inc. 3 Copyright (C) 2011 Free Software Foundation, Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 static void 339 static void
340 nacl_irt_command (char *args, int from_tty) 340 nacl_irt_command (char *args, int from_tty)
341 { 341 {
342 if (args) 342 if (args)
343 { 343 {
344 char *nacl_irt_filename; 344 char *nacl_irt_filename;
345 nacl_irt_filename = tilde_expand (args); 345 nacl_irt_filename = tilde_expand (args);
346 symbol_file_add (nacl_irt_filename, from_tty ? SYMFILE_VERBOSE : 0, 346 symbol_file_add (nacl_irt_filename, from_tty ? SYMFILE_VERBOSE : 0,
347 NULL, OBJF_USERLOADED); 347 NULL, OBJF_USERLOADED);
348 xfree (nacl_irt_filename); 348 xfree (nacl_irt_filename);
349 /* Recalculate frames. */
350 reinit_frame_cache ();
349 } 351 }
350 } 352 }
351 353
352 static struct observer *about_to_proceed_observer = NULL; 354 static struct observer *about_to_proceed_observer = NULL;
353 355
354 static void 356 static void
355 about_to_proceed_hook () 357 about_to_proceed_hook ()
356 { 358 {
357 if (exec_bfd == NULL) 359 if (exec_bfd == NULL)
358 { 360 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 407
406 c = add_com ("nacl-irt", class_files, nacl_irt_command, 408 c = add_com ("nacl-irt", class_files, nacl_irt_command,
407 _("Use FILE as Native Client IRT to be debugged.")); 409 _("Use FILE as Native Client IRT to be debugged."));
408 set_cmd_completer (c, filename_completer); 410 set_cmd_completer (c, filename_completer);
409 411
410 c = add_com ("nacl-manifest", class_files, nacl_manifest_command, 412 c = add_com ("nacl-manifest", class_files, nacl_manifest_command,
411 _("Use FILE as Native Client manifest for the program" 413 _("Use FILE as Native Client manifest for the program"
412 " to be debugged.")); 414 " to be debugged."));
413 set_cmd_completer (c, filename_completer); 415 set_cmd_completer (c, filename_completer);
414 } 416 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698