aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-29Add documentation for TARGET_OBJECT_OSDATAJoel Brobecker2-1/+7
gdb/ChangeLog: * target.h (enum target_object): Expand the documentation of TARGET_OBJECT_OSDATA a bit.
2010-12-29sim: HW_NALLOC: new alloc helperMike Frysinger2-0/+5
We have malloc (uninitialized buffer), zalloc (zeroed buffer), and nzalloc (zeroed array). But we don't have a way to allocate an uninitialized array. Add a HW_NALLOC to fill this gap. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-29sim: HW_NZALLOC: fix arg handlingMike Frysinger2-1/+5
The HW_NZALLOC macro has all caps args for some reason (unlike the other alloc helpers), and ends up not using the "ME" argument since its copy and paste source uses "me". Make all the args lowercase to match the style of all the other args and make it use the correct "me". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-292010-12-28 Michael Snyder <msnyder@vmware.com>Michael Snyder12-279/+321
* command.h: Comment clean-up. * cli/cli-cmds.c: Ditto. * cli/cli-cmds.h: Ditto. * cli/cli-decode.c: Ditto. * cli/cli-decode.h: Ditto. * cli/cli-dump.c: Ditto. * cli/cli-interp.c: Ditto. * cli/cli-logging.c: Ditto. * cli/cli-script.c: Ditto. * cli/cli-setshow.c: Ditto. * cli/cli-setshow.h: Ditto.
2010-12-29Mention PR ld/12327 in ChangeLog entry.H.J. Lu1-0/+1
2010-12-292010-12-28 Michael Snyder <msnyder@vmware.com>Michael Snyder9-454/+500
* event-loop.c: Comment clean-up. * event-loop.h: Ditto. * event-top.c: Ditto. * gdb.c: Ditto. * gdb.h: Ditto. * main.c: Ditto. * top.c: Ditto. * top.h: Ditto.
2010-12-29*** empty log message ***gdbadmin1-1/+1
2010-12-28daily updateAlan Modra1-1/+1
2010-12-28Add testcases for PR ld/12327.H.J. Lu9-3/+60
2010-12-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/12327 * ld-scripts/defined4.d: New. * ld-scripts/defined4.s: Likewise. * ld-scripts/defined4.t: Likewise. * ld-scripts/expr2.d: Likewise. * ld-scripts/expr2.s: Likewise. * ld-scripts/expr2.t: Likewise. * ld-scripts/defined.exp: Run defined4. * ld-scripts/expr.exp: Run expr2.
2010-12-28 * ax-gdb.c (gen_expr) <OP_REGISTER>: Error out if trying toPedro Alves2-0/+11
collect a user register.
2010-12-282010-12-28 Hui Zhu <teawater@gmail.com>Hui Zhu7-27/+214
* gdbarch.sh (ax_pseudo_register_collect, ax_pseudo_register_push_stack): new callbacks. (agent_expr): Forward declare. * gdbarch.h, gdbarch.c: Regenerate. * ax-gdb.c (gen_expr): Remove pseudo-register check code. * ax-general.c (user-regs.h): New include. (ax_reg): Call gdbarch_ax_pseudo_register_push_stack. (ax_reg_mask): Call gdbarch_ax_pseudo_register_collect. * mips-tdep.c (ax.h): New include. (mips_ax_pseudo_register_collect, mips_ax_pseudo_register_push_stack): New functions. (mips_gdbarch_init): Set mips_ax_pseudo_register_collect and mips_ax_pseudo_register_push_stack.
2010-12-282010-12-28 Yao Qi <yao@codesourcery.com>Yao Qi2-8/+8
* arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.
2010-12-28remove target_acknowledge_created_inferiorJoel Brobecker6-43/+17
This target_ops routine appears to be unused in practice, so this patch removes it. gdb/ChangeLog: * inf-child.c (inf_child_acknowledge_created_inferior): Delete. (inf_child_target): Do not set t->to_acknowledge_created_inferior. * inf-ptrace.c (inf_ptrace_create_inferior): Remove call to target_acknowledge_created_inferior. * inf-ttrace.c (inf_ttrace_him): Likewise. * target.h (struct target_ops): Delete to_acknowledge_created_inferior field. (target_acknowledge_created_inferior): Delete. * target.c (update_current_target): Remove setting of to_acknowledge_created_inferior field. Do default value for that field either. (debug_to_acknowledge_created_inferior): Delete. (setup_target_debug): Remove setting of current_target.to_acknowledge_created_inferior.
2010-12-28*** empty log message ***gdbadmin1-1/+1
2010-12-27daily updateAlan Modra1-1/+1
2010-12-27 gdb/Pedro Alves2-0/+25
* breakpoint.c (breakpoint_restore_shadows): When looking for the location with the lowest address that overlaps the memory range we want to restore shadows for, account for multiple locations at the same address.
2010-12-27 Code cleanup - renaming.Thiago Jung Bauermann2-260/+267
* breakpoint.c: Use bl for `*bp_location' variables, blp_tmp for `**bp_location' helper variables, b_tmp for `*breakpoint' helper variables.
2010-12-272010-12-27 Kevin Buettner <kevinb@redhat.com>Hui Zhu2-1/+15
Hui Zhu <teawater@gmail.com> * mips-tedp.c (mips_register_name): Add comments.
2010-12-27 PR gas/11395Dave Anglin8-11/+57
* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a doubleword completer or doubleword condition is found in an add/sub instruction. Reject match for 'A'/'S' only if there is no condition and d bit is not set. * gas/hppa/basic/add2.s: Add test for a simple doubleword carry instruction. * gas/hppa/basic/sub2.s: Add tests for simple word and doubleword borrow instructions. * gas/hppa/basic/basic.exp: Update regexps for above. * opcode/hppa.h: Clear "d" bit in "add" and "sub" patterns.
2010-12-27*** empty log message ***gdbadmin1-1/+1
2010-12-26daily updateAlan Modra1-1/+1
2010-12-26*** empty log message ***gdbadmin1-1/+1
2010-12-25daily updateAlan Modra1-1/+1
2010-12-25* gdb.threads/tls.exp: Fix typo.Andreas Schwab2-1/+3
2010-12-25* gdb.threads/thread-specific.exp (get_thread_list): Update.Andreas Schwab3-4/+12
* gdb.threads/execl.exp: Update.
2010-12-25*** empty log message ***gdbadmin1-1/+1
2010-12-24daily updateAlan Modra1-1/+1
2010-12-24 * compress.c (decompress_contents): Style.Alan Modra2-69/+65
(bfd_get_full_section_contents): Do not decompress directly into caller buffer or directly return cached section contents. Check malloc return for compressed_buffer.
2010-12-24*** empty log message ***gdbadmin1-1/+1
2010-12-23daily updateAlan Modra1-1/+1
2010-12-23sim: start a gitignoreMike Frysinger2-0/+11
2010-12-23gdbserver: start a gitignoreMike Frysinger2-0/+8
2010-12-23 gdb/doc/Pedro Alves2-0/+20
* gdb.texinfo (Packets) <read registers packet>: Document support for registers that were not collected.
2010-12-23 * output.h (Output_data_reloc::add_output_section): Pass OD insteadCary Coutant2-3/+8
of OS to this->add. Add OD parameter to second form of the function.
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi3-0/+297
* gdb.arch/arm-disp-step.exp: New. * gdb.arch/arm-disp-step.S: New.
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi2-4/+214
* arm-tdep.c (thumb_analyze_prologue): Move some code ... (EXTRACT_MOVW_MOVT_IMM_T): ... here. New macro. (EXTRACT_MOVW_MOVT_IMM_A): New macro. (arm_analyze_load_stack_chk_guard): New. (arm_skip_stack_protector): New. (arm_skip_prologue): Adjust post_prologue_pc by arm_skip_stack_protector.
2010-12-23Add missing _() marker in error message.Joel Brobecker2-1/+6
gdb/ChangeLog: * mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error message. Change spelling of "can not" into "cannot".
2010-12-232010-12-23 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+5
* arm-tdep.c (arm_gdbarch_init): Remove invoke to set_gdbarch_deprecated_fp_regnum.
2010-12-23*** empty log message ***gdbadmin1-1/+1
2010-12-22daily updateAlan Modra1-1/+1
2010-12-22 * inferior.c (remove_inferior_command): Don't remove an active inferior.Marc Khouzam3-0/+11
* mi/mi-main.c (mi_cmd_remove_inferior): Ditto.
2010-12-22*** empty log message ***gdbadmin1-1/+1
2010-12-21daily updateAlan Modra1-1/+1
2010-12-21gdbTom Tromey7-17/+87
* thread.c (print_thread_info): Make a ui-out table in CLI mode. gdb/testsuite * gdb.threads/execl.exp: Update. * gdb.threads/linux-dp.exp: Update. * gdb.threads/manythreads.exp: Update. * gdb.threads/tls.exp: Update.
2010-12-212010-12-21 Kai Tietz <kai.tietz@onevision.com>Kai Tietz7-1/+47
* peXXigen.c (_bfd_XXi_final_link_postscript): Use bfd_get_symbol_leading_char to determine "_tls_used" name. 2010-12-21 Kai Tietz <kai.tietz@onevision.com> * ld-pe/pe.exp: Add TLS directory test. * ld-pe/tlssec.s: New. * ld-pe/tlssec64.d: New. * ld-pe/tlssec32.d: New.
2010-12-21Adjust URLs.Thomas Schwinge3-3/+3
2010-12-21 * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct sizePierre Muller2-1/+13
for windows 64-bit TLS table size.
2010-12-21*** empty log message ***gdbadmin1-1/+1
2010-12-20daily updateAlan Modra1-1/+1
2010-12-20 * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keepIan Lance Taylor3-2/+21
second of two consecutive entries with same offset.