OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [ChangeLog] - Blame information for rev 216

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 216 jeremybenn
2010-07-20  Jeremy Bennett  
2
 
3
        * configure.ac: Added test for zlib from binutils/bfd
4
        * configure: Regenerated.
5
 
6 146 jeremybenn
2010-06-30  Jeremy Bennett  
7
 
8
        * or1k-tdep.c (or1k_fetch_instruction): Logic flow made clearer.
9
        (or1k_analyse_inst, or1k_analyse_L_addi)
10
        (or1k_analyse_l_sw): Added.
11
        (or1k_frame_size, or1k_frame_fp_loc, or1k_frame_size_check)
12
        (or1k_link_address, or1k_get_saved_reg): Removed.
13
        (or1k_skip_prologue, or1k_frame_unwind_cache): Rewritten to use
14
        or1k_analyse_inst functions.
15
        * or1k_tdep.h : #define
16
        added.
17
 
18
2010-06-10  Jeremy Bennett  
19
 
20
        * eval.c (evaluate_subexp_standard): Initialize subscript_array,
21
        to avoid picky compiler complaints.
22
        * or1k-jtag.c (jp1_ll_read_jp1): Initialize data, to avoid picky
23
        compiler complaints.
24
 
25 24 jeremybenn
2008-11-08  Jeremy Bennett  
26 146 jeremybenn
 
27 24 jeremybenn
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr): Moved here from
28
        remote-or1k.c and made local to this file. Rewritten to use
29
        commands via the target remote command (to_rcmd) function.
30
        * or1k-tdep.c (or1k_spr_command). Invalidates register cache when
31
        SPR is written.
32
        * or1k-tdep.h: or1k_read_spr and Or1k_write_spr are removed as
33
        global functions.
34
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr). Functions removed
35
        and made local to or1k-tdep.c. All or1k-tdep.c references to these
36
        functions changed to use or1k_jtag_read_spr and
37
        or1k_jtag_write_spr (for which these were only wrappers).
38
        * or1k-tdep.c (or1k_rcmd): Function added to process SPR access
39
        requests.
40
 
41 146 jeremybenn
2008-10-23  Jeremy Bennett  
42
 
43 24 jeremybenn
        * or1k-tdep.h, or1k-tdep.c: Extend the number of registers to
44
        include the PPC as well as the NPC
45
 
46
2008-08-13  Jeremy Bennett  
47
 
48
        * or1k-tdep.c, or1k-tdep.h, remote-or1k.c: Numerous bug fixes
49
        * or1k-jtag.c (or1k_jtag_read_mem, or1k_jtag_write_mem): Problems
50
        with small data without alignment fixed.
51
        * doc/or1k.texinfo: Small changes to bring in to line with bug
52
        fixes.
53
        * doc/gdb.texinfo: Sections relating to OpenRISC 1000 rewritten
54
        * opcodes/or32-dis.c: Signed offsets reinstated. Symbolic branch
55
        targets added.
56
        * opcodes/or32-opc.c: l.nop immediate arg made unsigned
57
        * gdb/breakpoint.c (bpstat_stop_status): The test to disallow a
58
        read watchpoint if the value had changed was unreliable and has
59
        been deleted. Trust the HW on this one.
60 146 jeremybenn
 
61 24 jeremybenn
2008-07-30  Jeremy Bennett  
62
 
63
        * NEWS: Details of OpenRISC 1000 port
64
        * or1k-tdep.c: New file, based on the OpenCores 5.3 port
65
        * or1k-tdep.h: New file, based on the OpenCores 5.3 port
66
        * or1k-jtag.c: New file, based on the OpenCores 5.3 port
67
        * or1k-jtag.h: New file, based on the OpenCores 5.3 port
68
        * remote-or1k.c: New file, based on the OpenCores 5.3 port
69
        * configure.tgt: Updated description of OpenRISC 1000 files
70
        * bfd/config.bfd: or32-*-*linux* added as match for
71
        targ_defvec=bfd_elf32_or32_big_vec
72
        * doc/or1k.texinfo: New file: Documentation of the OpenRISC 1000
73
        * doc/Makefile.in: Added OpenRISC 1000 document
74 146 jeremybenn
 
75 24 jeremybenn
2008-03-27  Joel Brobecker  
76
 
77
        * NEWS: Replace "Changes since GDB 6.7" into changes in GDB 6.8".
78
 
79
2008-03-27  Joel Brobecker  
80
 
81
        * README: Update GDB version number to 6.8.
82
        * version.in: Likewise.
83
 
84
2008-03-21  Thomas Mittelstaedt    (tiny change)
85
 
86
        * aix-thread.c (pdc_read_regs): Fix compiler warning.
87
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
88
        (store_regs_kernel_thread): Likewise.
89
 
90
2008-03-17  Daniel Jacobowitz  
91
 
92
        * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
93
        * symmisc.c (dump_symtab_1): Likewise.
94
        * wrapper.c (gdb_value_struct_elt): Likewise.
95
 
96
2008-03-17  Nick Hudson  
97
 
98
        * Makefile.in (amd64nbsd-nat.o): New dependency.
99
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
100
        (_initialize_amd64nbsd_nat): Update target vector to use
101
        nbsd_pid_to_exec_file.
102
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
103
 
104
2008-03-13  Joel Brobecker  
105
 
106
        * version.in: Set version to 6.7.90.20080313-cvs.
107
 
108
2008-03-13  Joel Brobecker  
109
 
110
        GDB 6.7.90 released.
111
 
112
2008-03-13  Joel Brobecker  
113
 
114
        * version.in: Set version to 6.7.90.
115
 
116
2008-03-13  Joel Brobecker  
117
 
118
        * README: Update GDB version number to 6.7.90.
119
 
120
2008-03-12  Pedro Alves  
121
 
122
        * thread.c (add_thread): Use printf_unfiltered to print.
123
 
124
2008-03-12  Joel Brobecker  
125
 
126
        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
127
        that is true only on x86-solaris and x86_64-solaris.
128
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
129
        with proc_get_LDT_entry.
130
 
131
2008-03-10  Matt Rice  
132
 
133
        * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
134
 
135
2008-03-04  Daniel Jacobowitz  
136
 
137
        * frame.c (reinit_frame_cache): Only annotate if frames were
138
        previously valid.
139
 
140
2008-03-04  Greg Law  
141
 
142
        * regcache.c (registers_changed): Call reinit_frame_cache.
143
 
144
2008-03-04  Thiago Jung Bauermann  
145
 
146
        * amd64-tdep.c (amd64_classify): Add support for decimal float
147
        types.
148
        * i386-tdep.c (i386_return_value): Make 128-bit decimal float
149
        use the struct return convention.
150
 
151
2008-02-29  Joel Brobecker  
152
 
153
        GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
154
        * version.in: Bump version to 6.7.90.20080226-cvs.
155
 
156
2008-02-26  Nick Roberts  
157
 
158
        * breakpoint.c (print_one_breakpoint_location): Revert Enb field
159
        to old format.  Discard breakpoint address if shared library is
160
        unloaded.
161
        (breakpoint_1): Adjust formatting of table header accordingly.
162
 
163
2008-02-25  Vladimir Prus  
164
 
165
       * remote.c (remote_get_threadlist): If the response
166
       is empty, don't try to parse it.
167
 
168
2008-02-23  Vladimir Prus  
169
 
170
        Unbreak 'target async'.
171
        * serial.c (serial_async): Set the
172
        handler function before enabling async
173
        mode.
174
 
175
2008-02-22  Daniel Jacobowitz  
176
 
177
        * solib-svr4.c (enable_break): Convert r_brk to a code address.
178
 
179
2008-02-21  Pedro Alves  
180
 
181
        * remote.c (extended_remote_attach_1): Set attach_flag.
182
        (extended_remote_create_inferior_1): Clear attach_flag.
183
 
184
2008-02-20  Daniel Jacobowitz  
185
 
186
        * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
187
        r_brk_offset.
188
        (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
189
        * solib-svr4.c (solib_svr4_r_brk): New.
190
        (open_symbol_file_object, svr4_current_sos): Always check the
191
        debug base.
192
        (svr4_fetch_objfile_link_map): Do not set debug_base.
193
        (enable_break): Use r_brk if it is set.
194
        (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
195
        (svr4_lp64_fetch_link_map_offsets): Likewise.
196
        * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
197
 
198
2008-02-20  Markus Deuling  
199
            Mark Kettenis  
200
 
201
        * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
202
        trad_frame_saved_reg.
203
        (trad-frame.h): New include.
204
 
205
        (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
206
        instead of frame_obstack_zalloc.
207
        (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
208
 
209
        * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
210
 
211
2008-02-20  Markus Deuling  
212
 
213
        * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
214
        from disassemble_info instead of gdbarch_byte_order.
215
 
216
        * mips-tdep.c (gdb_print_insn_mips): Likewise.
217
        * arm-tdep.c (gdb_print_insn_arm): Likewise.
218
 
219
2008-02-20  Markus Deuling  
220
 
221
        * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
222
        gdbarch as parameter.
223
 
224
        * gdbarch.{c,h}: Regenerate.
225
 
226
        * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
227
        parameter.
228
        * mem-break.c (default_memory_insert_breakpoint)
229
        (default_memory_remove_breakpoint): Likewise.
230
        * target.h (default_memory_remove_breakpoint)
231
        (default_memory_insert_breakpoint): Likewise.
232
 
233
        * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
234
        parameter. Replace current_gdbarch by gdbarch.
235
        * m32r-tdep.c (m32r_memory_insert_breakpoint)
236
        (m32r_memory_remove_breakpoint): Likewise.
237
 
238
2008-02-19  Daniel Jacobowitz  
239
 
240
        * MAINTAINERS: Add Vladimir Prus as MI maintainer.
241
 
242
2008-02-19  Joel Brobecker  
243
 
244
        * NEWS: Add entry describing Add support improvements.
245
 
246
2008-02-18  Markus Deuling  
247
 
248
        * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
249
        M68K_FP0_REGNUM.
250
 
251
2008-02-18  Markus Deuling  
252
 
253
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
254
        register_offset_hack anymore.
255
 
256
        * regcache.{c,h} (register_offset_hack): Remove.
257
 
258
2008-02-18  Markus Deuling  
259
 
260
        * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
261
 
262
        * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
263
        current_gdbarch by gdbarch.
264
        (hppa64_hpux_find_global_pointer): Likewise.
265
        * hppa-tdep.c (hppa_find_global_pointer): Likewise.
266
        (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
267
        find_global_pointer.
268
 
269
        * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
270
        parameter.
271
        * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
272
 
273
        * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
274
        of gdbarch_num_regs.
275
 
276
        * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
277
        replace current_gdbarch by gdbarch.
278
        (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
279
 
280
2008-02-18  Markus Deuling  
281
 
282
        * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
283
        and replace current_gdbarch by gdbarch.
284
 
285
        (store_register): Update call for exec_one_dummy_insn.
286
        (fetch_register, store_register): Update call of regmap.
287
 
288
        * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
289
        parameter and replace current_gdbarch by gdbarch.
290
 
291
        (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
292
        the current architecture. Update call for getregs_supplies and
293
        getfpregs_supplies.
294
        (ppcnbsd_fetch_inferior_registers): Likewise.
295
 
296
        * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
297
        replace current_gdbarch by gdbarch.
298
        (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
299
        get_regcache_arch to get at the current architecture. Update call for
300
        getfpregs_supplies.
301
 
302
2008-02-18  Markus Deuling  
303
 
304
        * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
305
        variables.
306
 
307
2008-02-15  Markus Deuling  
308
 
309
        * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
310
 
311
2008-02-14  Vladimir Prus  
312
 
313
        * NEWS: Mention pending breakpints in MI.
314
 
315
2008-02-14  Markus Deuling  
316
 
317
        * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
318
 
319
2008-02-13  Markus Deuling  
320
 
321
        Add script to build and test GDB using enable-targets=all.
322
 
323
        * gdb_buildall.sh: New file.
324
 
325
2008-02-11  Maxim Grigoriev  
326
 
327
        * NEWS (New native configurations): Xtensa GNU/Linux.
328
        (New targets): Xtensa GNU/Linux.
329
        * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
330
        xtensa-linux-tdep.o
331
        (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
332
        (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
333
        * configure.tgt (xtensa*-*-linux*): New entry.
334
        * xtensa-config.c (xtensa_tdep): New variable.
335
        (xtensa_config_byte_order, xtensa_config_tdep): Removed.
336
        (rmap): Change format based on new macro XTREG.
337
        (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
338
        * xtensa-linux-nat.c: New.
339
        * xtensa-linux-tdep.c: New.
340
        * xtensa-xtregs.c: New.
341
        * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
342
        (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
343
        (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
344
        (xtensa_register_t): New field coprocessor.
345
        (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
346
        * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
347
        (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
348
        Update to handle privileged registers.
349
        (xtensa_supply_gregset) Remove exccause and excvaddr registers.
350
        (xtensa_push_dummy_call): Set windowstart register correctly.
351
        (call0_analyze_prologue): Initialize xtensa_default_isa.
352
        (xtensa_derive_tdep): New.
353
        (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
354
        xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
355
        Call xtensa_derive_tdep().
356
        * config/xtensa/linux.mh: New.
357
        * regformats/reg-xtensa.dat: New.
358
 
359
2008-02-09  Aleksandar Ristovski    (tiny change)
360
 
361
        * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
362
        (filenames.h): New include.
363
        * Makefile.in (corelow.o): Add dependency for filenames.h.
364
 
365
2008-02-08  Doug Evans  
366
 
367
        * source.c (find_and_open_source): Always rewrite absolute filenames.
368
 
369
2008-02-07  Doug Evans  
370
 
371
        * breakpoint.c: #include "hashtab.h".
372
        (ambiguous_names_p): New fn.
373
        (update_breakpoint_locations): When restoring bp enable status, don't
374
        compare function names if any functions have same name.
375
        * Makefile.in (breakpoint.o): Add hashtab.h dependency.
376
 
377
2008-02-07  Joel Brobecker  
378
 
379
        * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
380
        instead of just a VEC*. Update use of SV.
381
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.
382
 
383
2007-02-07  Joel Brobecker  
384
 
385
        * NEWS: Put all new commands since gdb-6.7 together.
386
 
387
2007-02-07  Joel Brobecker  
388
 
389
        * ada-lang.c: #include "vec.h".
390
        (struct string_vector, new_string_vector, string_vector_append):
391
        Delete.
392
        (char_ptr): New typedef.
393
        (DEF_VEC_P (char_ptr)): New VEC type.
394
        (symbol_completion_add): Update profile to take the new VEC type
395
        instead of the old string_vector structure. Update code accordingly.
396
        (ada_make_symbol_completion_list): Use the new VEC type instead of
397
        the old string_vector structure, and update the code accordingly.
398
        * Makefile.in (ada-lang.o): Add dependency on vec.h.
399
 
400
2008-02-06  Pierre Muller  
401
 
402
        * p-exp.y: Set current_type in missing places.
403
        (leftdiv_is_integer): New static variable.
404
        Typecast right operand of BINOP_DIV to long_double if both operands
405
        are integers.
406
 
407
2008-02-06  Maciej W. Rozycki  
408
 
409
        * remote-mips.c (set_breakpoint): Rename to...
410
        (mips_set_breakpoint): ... this.
411
        (clear_breakpoint): Rename to...
412
        (mips_clear_breakpoint): ... this.
413
        (common_breakpoint): Rename to...
414
        (mips_common_breakpoint): ... this.
415
        (check_lsi_error): Rename to...
416
        (mips_check_lsi_error): ... this.
417
 
418
2007-02-05  Joel Brobecker  
419
 
420
        * language.h (struct language_defn): Add new field
421
        la_make_symbol_completion_list.
422
        * symtab.c (default_make_symbol_completion_list): Renames
423
        make_symbol_completion_list.
424
        (make_symbol_completion_list): New function.
425
        * symtab.h (default_make_symbol_completion_list): Add declaration.
426
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
427
        (auto_language, local_language): Likewise.
428
        * objc-lang.c (objc_language_defn): Likewise.
429
        * scm-lang.c (scm_language_defn): Likewise.
430
        * m2-lang.c (m2_language_defn): Likewise.
431
        * f-lang.c (f_language_defn): Likewise.
432
        * jv-lang.c (java_language_defn): Likewise.
433
        * p-lang.c (pascal_language_defn): Likewise.
434
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
435
        (minimal_language_defn): Likewise.
436
        * ada-lang.c (struct string_vector): New structure.
437
        (new_string_vector, string_vector_append, ada_unqualified_name)
438
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
439
        (ada_make_symbol_completion_list): New functions.
440
        (ada_language_defn): Set la_make_symbol_completion_list.
441
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
442
        this function is static.
443
 
444
2008-02-05  Kevin Buettner  
445
 
446
        * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
447
        to account for call site optimizations.
448
 
449
2008-02-05  Andrzej Zaborowski  
450
 
451
        * tracepoint.c (read_actions): Handle end-of-text indicator
452
        in action list properly.  (Committed by Jim Blandy)
453
 
454
2008-02-05  Jim Blandy  
455
 
456
        * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
457
        pseudoregister, not an internal error.
458
        Reported by: Andrzej Zaborowski
459
 
460
2008-02-04  Vladimir Prus  
461
 
462
        * varobj.c (c_value_of_variable): Use xstrdup.
463
 
464
2008-02-04  Vladimir Prus  
465
 
466
        Update stored rendition of varobj value when format changes.
467
        * varobj.c (varobj_set_display_format): Recomputed
468
        print_value.
469
        (c_value_of_variable): Return print_value.
470
 
471
2008-02-03  Doug Evans  
472
 
473
        * eval.c (evaluate_subexp_standard): Fix type of result of mixed
474
        integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
475
        * valops.c (value_one): New function.
476
        * value.h (value_one): Declare.
477
 
478
        Fix argument promotion for binary arithmetic ops for C.
479
        * valarith.c (unop_result_type): New fn.
480
        (binop_result_type): New fn.
481
        (value_binop): Move result type computation to binop_result_type.
482
        (value_pos, value_neg, value_complement): Move result type
483
        computation to unop_result_type.
484
 
485
        PR 2384
486
        * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
487
        Return basetype, fieldno if found.  All callers updated.
488
        Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
489
        objfile.
490
        * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
491
        * symfile.h (fill_in_vptr_fieldno): Delete.
492
 
493
2008-02-02  Doug Evans  
494
 
495
        * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
496
 
497
        * typeprint.c (*): Whitespace cleanup.
498
 
499
2008-02-02  Mark Kettenis  
500
            Luis Machado  
501
            Thiago Jung Bauermann  
502
 
503
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
504
        don't fit into registerson the stack the way GCC does.
505
 
506
2008-02-01  Joel Brobecker  
507
 
508
        * symtab.c (symbol_set_names): Do not add an entry in the demangling
509
        hash table for Ada symbols. Just store the linkage name as is,
510
        and leave the demangled_name as NULL.
511
 
512
2007-02-01  Joel Brobecker  
513
 
514
        * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
515
        in the global scope.
516
        (new_symbol): Likewise.
517
 
518
2008-02-01  Vladimir Prus  
519
 
520
        * breakpoint.c (break_command_1): Return void.
521
        (break_command_really): Return void.  Rethrow
522
        exceptions instead of returning.
523
        (gdb_breakpoint): Remove the error_message parameter.
524
        Return void.  Rename to set_breakpoint.
525
        * gdb.h (gdb_breakpoint): Rename and move to...
526
        * breakpoint.h (set_breakpoint): ...here.
527
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
528
        event hooks even if exception is thrown.  Adjust to
529
        gdb_breakpoint interface changes.
530
 
531
 
532
2008-02-01  Thiago Jung Bauermann  
533
 
534
        * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
535
        float in both first and second word in the doubleword, to support
536
        old and new ABIs.
537
 
538
2008-02-01  Vladimir Prus  
539
 
540
        Properly rethrow exception.  This fixes errors
541
        about non-existent functions for -break-insert.
542
        * breakpoint.c (break_command_really): Use throw_exception
543
        for rethrowing.  If rethrowing, don't print the exception.
544
 
545
2008-01-31  Thiago Jung Bauermann  
546
 
547
        * NEWS: Mention Decimal Floating Point support.
548
 
549
2008-01-31  Joel Brobecker  
550
 
551
        * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
552
        value type to builtin_type_void_func_ptr.
553
 
554
2008-01-31  Andreas Krebbel  
555
 
556
        * s390-tdep.c (is_float_singleton, is_float_like,
557
        alignment_of, s390_return_value): Make checks for
558
        TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
559
 
560
2008-01-31  Luis Machado  
561
            Thiago Jung Bauermann  
562
 
563
        * infcmd.c (default_print_registers_info): Also print hex
564
        raw contents for TYPE_CODE_DECFLOAT registers.
565
        * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
566
        * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
567
        (rs6000_register_name): Add support for DFP pseudo-registers.
568
        (rs6000_pseudo_register_type): Likewise.
569
        rs6000_pseudo_register_reggroup_p): Likewise.
570
        (ppc_pseudo_register_read): New function.
571
        (ppc_pseudo_register_write): Likewise.
572
        (rs6000_pseudo_register_read): Likewise.
573
        (rs6000_pseudo_register_write): Likewise.
574
        (e500_pseudo_register_read): Move checks to
575
        rs6000_pseudo_register_read.
576
        (e500_pseudo_register_write): Move checks to
577
        rs6000_pseudo_register_write.
578
        (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
579
        rs6000_pseudo_register_read and rs6000_pseudo_register_write
580
        in gdbarch if SPE or DFP is available.  Adjust gdbarch's
581
        num_pseudo_regs to account for DFP pseudo regs.
582
 
583
2008-01-31  Thiago Jung Bauermann  
584
 
585
        * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
586
        * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
587
        (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
588
        rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
589
        e500_pseudo_register_read, e500_pseudo_register_write): Use
590
        IS_SPE_PSEUDOREG macro.
591
        (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
592
        (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
593
        Remove initialization of tdep->ppc_ev31_regnum.
594
 
595
2008-01-08  Paul Hilfinger  
596
 
597
        * printcmd.c (print_formatted): Handle references as for unformatted
598
        prints.
599
 
600
2008-01-30  Joel Brobecker  
601
 
602
        * eval.c (evaluate_subexp_standard): Add handling of user
603
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.
604
 
605
2008-01-30  Pierre Muller  
606
 
607
        * eval.c (evaluate_subexp_standard): Support
608
        BINOP_INTDIV opcode.
609
 
610
2008-01-30  Paul N. Hilfinger  
611
 
612
        * valarith.c (value_binop): Add floating-point BINOP_MIN and
613
        BINOP_MAX cases.
614
        For BINOP_EXP, use length and signedness of left operand only for
615
        result, as for shifts.
616
        For integral operands to BINOP_EXP, use new integer_pow and
617
        uinteger_pow functions so as to get full range of results.
618
        (integer_pow): New function.
619
        (uinteger_pow): New function.
620
 
621
2008-01-30  Vladimir Prus  
622
 
623
        Use vector for varobj_list_children interface.
624
        * gdb/varobj.c (varobj_list_children): Return vector
625
        of varobjs.
626
        * gdb/varobj.h (varobj_list_children): Adjust
627
        prototype.
628
        (varobj_p): Declare.  Declare vector thereof.
629
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
630
        for varobj_list_children change.
631
        * Makefile.in (varobj_h): Update dependencies.
632
 
633
2008-01-30  Thiago Jung Bauermann  
634
 
635
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
636
        TYPE_CODE_DECFLOAT arguments.
637
        (ppc64_sysv_abi_push_dummy_call) Likewise.
638
        (get_decimal_float_return_value): New function.
639
        (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
640
        values by calling get_decimal_float_return_value.
641
        (ppc64_sysv_abi_return_value): Likewise.
642
 
643
2008-01-30  Nick Roberts  
644
 
645
        * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
646
        for preprocessor macro information.  Formatting changes.
647
 
648
2008-01-29  Daniel Jacobowitz  
649
 
650
        * remote.c (struct remote_state): Add cached_wait_status.
651
        (remote_exec_file): New variable.
652
        (PACKET_vAttach, PACKET_vRun): New constants.
653
        (extended_remote_restart): Do not query for status.
654
        (struct start_remote_args): New.
655
        (remote_start_remote): Take it as a second argument.  Check
656
        whether the target is running.  Issue an error for non-running
657
        non-extended targets.  Cache the wait status.  Set inferior_ptid
658
        here.
659
        (remote_open_1): Prompt to disconnect non-running targets.  Make
660
        sure the target is marked running.  Do not set inferior_ptid here.
661
        Update call to remote_start_remote.  Do not call remote_check_symbols
662
        if the target is not running.
663
        (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
664
        argument.  Handle a non-running target.
665
        (remote_detach): Use it.
666
        (extended_remote_detach): New.
667
        (remote_disconnect): Fix typo.  Use remoute_mourn_1.
668
        (extended_remote_attach_1, extended_remote_attach)
669
        (extended_async_remote_attach): New.
670
        (remote_vcont_resume): Remove unused variable.
671
        (remote_wait, remote_async_wait): Use any cached wait status.
672
        (putpkt_binary, getpkt): Clear any cached wait status.
673
        (extended_remoute_mourn_1): New.
674
        (extended_remote_mourn): Use it.
675
        (extended_async_remote_mourn, extended_remote_run): New.
676
        (extended_remote_create_inferior_1): New.
677
        (extended_remote_create_inferior): Use it.
678
        (extended_remote_async_create_inferior): Likewise.
679
        (remote_xfer_partial): Skip for non-executing targets.
680
        (init_extended_remote_ops): Set to_detach and to_attach.
681
        (init_extended_async_remote_ops): Likewise.  Use
682
        extended_async_remote_mourn.
683
        (_initialize_remote): Register vAttach, vRun, and
684
        set remote exec-file.
685
        * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
686
 
687
2008-01-29  Daniel Jacobowitz  
688
 
689
        * Makefile.in (symfile.o): Update.
690
        * NEWS: Mention exec tracing support.
691
        * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
692
        exec events.
693
        * infcmd.c (kill_if_already_running, detach_command)
694
        (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
695
        * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
696
        (follow_exec): Do not check may_follow_exec.  Do not mourn and push
697
        targets.  Apply the sysroot path to the loaded executable.  Use
698
        no_shared_libraries.
699
        * linux-nat.c (linux_child_follow_fork): Print fork following
700
        messages if verbose.
701
        (kill_wait_callback): Kill again before waiting a second time.
702
        * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
703
        no_shared_libraries.
704
 
705
2008-01-29  Joel Brobecker  
706
 
707
        * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
708
 
709
2008-01-29  Joel Brobecker  
710
 
711
        * nto-tdep.h: Remove #include "defs.h".
712
        * nto-tdep.c: Add #include "defs.h".
713
        * Makefile.in (nto_tdep_h): Update dependencies.
714
        (nto-tdep.o): Likewise.
715
 
716
2008-01-29  Joel Brobecker  
717
 
718
        * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
719
        and use it.
720
        (proceed, start_remote): Update call to wait_for_inferior.
721
        * inferior.h (wait_for_inferior): Update declaration.
722
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
723
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
724
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
725
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
726
 
727
2008-01-29  Aleksandar Ristovski  
728
 
729
        * varobj (adjust_value_for_child_access): Added checking for
730
        returned value from gdb_value_ind.
731
        (c_describe_child): Likewise.
732
        (cplus_describe_child): Fixed a typo.
733
 
734
2008-01-29  Jim Blandy  
735
 
736
        * MAINTAINERS: Update my info.
737
 
738
2008-01-29  Vladimir Prus  
739
 
740
        Use multiple locations for hardware watchpoints.
741
        This eliminates the need to traverse value chain, doing
742
        various checks, in three different places.
743
 
744
        * breakpoint.h (struct bp_location): New fields
745
        lengths and watchpoint_type.
746
        (struct breakpoint): Remove the val_chain field.
747
        * breakpoint.c (is_hardware_watchpoint): New.
748
        (free_valchain): Remove.
749
        (update_watchpoint): New.
750
        (insert_bp_location): For hardware watchpoint, just
751
        directly insert it.
752
        (insert_breakpoints): Call update_watchpoint_locations
753
        on all watchpoints.  If we have failed to insert
754
        any location of a hardware watchpoint, remove all inserted
755
        locations.
756
        (remove_breakpoint): For hardware watchpoints, directly
757
        remove location.
758
        (watchpoints_triggered): Iterate over locations.
759
        (bpstat_stop_status): Use only first location of
760
        a resource watchpoint.
761
        (delete_breakpoint): Don't call free_valchain.
762
        (print_one_breakpoint): Don't print all
763
        locations for watchpoints.
764
        (breakpoint_re_set_one): Use update_watchpoint for
765
        watchpoints.
766
 
767
2008-01-29  Vladimir Prus  
768
 
769
        Don't reset watchpoint block on solib load.
770
 
771
        * breakpoint.c (insert_bp_location): For watchpoints,
772
        recompute condition.
773
        (breakpoint_re_set_one): Instead of recomputing value
774
        and condition for watchpoints, just reset value and
775
        let insert_breakpoints/insert_bp_location recompute it.
776
        Don't do anything about disabled watchpoint.
777
 
778
2008-01-29  Pierre Muller  
779
 
780
        * valarith.c (value_binop): Handle unsigned integer
781
        division by zero.
782
 
783
2008-01-28  Kevin Buettner  
784
 
785
        * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
786
        instruction pattern that appears frequently in position
787
        independent code.  Fix bug in code which looks for "fmov" and
788
        backtracks if no "fmov" is found.
789
 
790
2008-01-28  Doug Evans  
791
 
792
        * dbxread.c (read_dbx_symtab): Fix indentation.
793
        Reformat comments to 80 columns.
794
        Move local var def closer to only use.
795
 
796
2008-01-28  Daniel Jacobowitz  
797
 
798
        * fork-child.c (SHELL_FILE): Remove #ifndef.
799
        (fork_inferior): Remove SHELL_COMMAND_CONCAT.
800
 
801
2008-01-25  Pierre Muller  
802
 
803
        * i386-tdep.c (i386_skip_noop): New function.
804
        (i386_analyze_prologue): Call i386_skip_noop function.
805
 
806
2008-01-24  Michael Snyder  
807
 
808
        * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
809
        * win32-nat.c (win32_xfer_partial): Ditto.
810
        * target.c (default_xfer_partial): Minor whitespace adjustment.
811
 
812
2008-01-24  Pedro Alves  
813
 
814
        * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
815
        strip bit 1 even if pc doesn't point to thumb code.
816
 
817
2008-01-23  Daniel Jacobowitz  
818
 
819
        * remote.c (remote_wait): Handle SIGINT between packets.
820
        (remote_async_wait): Likewise.
821
 
822
2008-01-23  Vladimir Prus  
823
            Chris Demetriou  
824
 
825
        * thread.c (add_thread_silent): Renamed
826
        from add_thread.
827
        (print_thread_events): New variable definition.
828
        (show_print_thread_events): New function.
829
        (_initialize_thread): Add "set print thread-events" and
830
        "show print thread-events" commands.
831
        (add_thread): Announce new thread.
832
        * gdbthread.h (add_thread_silent): Declare.
833
        (print_thread_events): New variable declaration.
834
        * inf-ttrace.c (inf_ttrace_wait): Don't
835
        inform about new thread, as add_thread is always
836
        called too, and will take care of that.
837
        * infrun.c (handle_inferior_event): Likewise.
838
        * procfs.c (procfs_wait): Likewise.
839
        * remote.c (remote_currthread): Likewise.
840
        * sol-thread.c (sol_thread_wait): Likewise.
841
        * win32-nat.c (get_win32_debug_event): Likewise.
842
        * linux-thread-db.c (attach_thread): Likewise.
843
        Remove the verbose parameter.
844
        (check_event): Make detach_thread be verbose
845
        only if print_thread_events is set.
846
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
847
        about new thread.  This is called only from
848
        linux-thread-db.c:attach_thread, which will take care.
849
        Remove the verbose parameter.
850
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
851
 
852
2008-01-23  Nick Roberts  
853
 
854
        * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
855
 
856
2008-01-22  Vladimir Prus  
857
 
858
        * breakpoint.c (break_command_really): New parameter
859
        ignore_count.
860
        (break_command_1): Pass 0 as
861
        ignore_count to break_command_really.
862
        (gdb_breakpoint): Pass ignore_count to
863
        break_command_really.
864
 
865
2008-01-21  Kevin Buettner  
866
 
867
        * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
868
        sigcontext struct via pointer.
869
        (struct sigframe comment): Update to show new field `psc'.
870
 
871
2008-01-21  Vladimir Prus  
872
 
873
        * infrun.c (handle_inferior_event): If
874
        we failed to remove breakpoints, error,
875
        don't try to increment PC by hand.
876
 
877
2008-01-18  Nick Hudson  
878
 
879
        Add NetBSD/hppa target and host support.
880
 
881
        * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
882
        (hppabsd_gregset): Move to ...
883
        (hppabsd_regset_from_core_section): Rename
884
        hppaobsd_regset_from_core_section and move to ...
885
        (hppabsd_find_global_pointer): Update comment.
886
        (hppabsd_init_abi): Make global. Do not register
887
        hppabsd_regset_from_core_section.
888
        (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
889
        move to ...
890
        (_initialize_hppabsd_tdep): Move to ...
891
        * hppaobsd-tdep.c: ... here. New file.
892
        * hppnbsd-tdep.c: New file.
893
        * hppnbsd-nat.c: New file.
894
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
895
        (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
896
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
897
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
898
        * configure.host (hppa*-*-netbsd*): New entry.
899
        * configure.tgt (hppa*-*-netbsd*): New entry.
900
        (hppa*-*-openbsd*): Update.
901
        * NEWS (New native configuration): Mention NetBSD/hppa.
902
        (New targets): Mention NetBSD/hppa.
903
 
904
2008-01-18  Markus Deuling  
905
 
906
        * gdbarch.sh (function_list): Add new property bits_big_endian to
907
        gdbarch structure.
908
        * gdbarch.{c,h}: Regenerate.
909
 
910
        * value.c (struct value): Replace BITS_BIG_ENDIAN by
911
        gdbarch_bits_big_endian (comment).
912
        (unpack_field_as_long, modify_field): Likewise.
913
        * value.h: Likewise (comment).
914
        * valops.c (value_slice): Likewise.
915
        * valarith.c (value_subscript, value_bit_index): Likewise.
916
        * gdbtypes.h (field): Likewise (comment).
917
        * eval.c (evaluate_subexp_standard): Likewise.
918
        * dwarf2read.c (dwarf2_add_field): Likewise.
919
        * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
920
        (move_bits, ada_value_assign, value_assign_to_component): Likewise.
921
 
922
        * defs.h (BITS_BIG_ENDIAN): Remove.
923
 
924
2008-01-18  Markus Deuling  
925
 
926
        * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
927
        function calls.
928
        * m2-exp.y (yylex): Likewise.
929
        * objc-exp.y (yylex): Likewise.
930
 
931
        * defs.h (DEPRECATED_STREQN): Remove.
932
 
933
2008-01-17  H.J. Lu  
934
 
935
        * MAINTAINERS: Update my email address.
936
 
937
2008-01-17  Jim Blandy  
938
 
939
        * README: Mention gdbserver/README.
940
 
941
2008-01-17  Pierre Muller  
942
 
943
        * valarith.c (value_binop): Handle BINOP_INTDIV
944
        for unsigned and signed integers.
945
 
946
2008-01-17  Ulrich Weigand  
947
 
948
        * s390-tdep.c (s390_gdbarch_init): Set default long double
949
        type to 128-bit IEEE quad.
950
 
951
2008-01-17  Joel Brobecker  
952
 
953
        * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
954
 
955
2008-01-16  Mark Kettenis  
956
 
957
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
958
 
959
        * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
960
        * value.c: All callers changed.
961
 
962
2008-01-16  Markus Deuling  
963
 
964
        * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
965
        DEPRECATED_STREQ by its expression.
966
        * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
967
        * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
968
        (scan_xcoff_symtab): Likewise.
969
        * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
970
        * f-lang.c (find_common_for_function): Likewise.
971
        * objc-exp.y (parse_number): Likewise.
972
 
973
        * defs.h (DEPRECATED_STREQ): Remove.
974
 
975
2008-01-16  Markus Deuling  
976
 
977
        * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
978
        * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
979
        get_frame_arch to get at the current_architecture. Update AM33_MODE
980
        call.
981
        (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
982
        (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
983
        architecture.
984
        (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
985
 
986
2008-01-16  Markus Deuling  
987
 
988
        * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
989
        parameter.
990
        * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
991
 
992
        (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
993
        current_gdbarch by gdbarch. Update caller.
994
 
995
        * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
996
        (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
997
        the current architecture. Update calls of
998
        amd64_native_gregset_supplies_p.
999
        * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
1000
        (amd64bsd_store_inferior_registers): Likewise.
1001
 
1002
2008-01-16  Markus Deuling  
1003
 
1004
        * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
1005
        Replace current_gdbarch by gdbarch. Update caller.
1006
 
1007
2008-01-16  Markus Deuling  
1008
 
1009
        * dbxread.c (repeated_header_complaint, dbx_symfile_init)
1010
        (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
1011
        (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
1012
        (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
1013
        (stabsect_build_psymtabs): Fix indentation.
1014
 
1015
2008-01-15  Michael Snyder  
1016
 
1017
        * corelow.c (core_xfer_partial): Comment, cut/paste error.
1018
 
1019
2008-01-14  Pierre Muller  
1020
 
1021
        * win32-nat.c (win32_create_inferior): Restore code calling
1022
        CloseHandle on ProcessInformation structure.
1023
 
1024
2008-01-13  Nick Hudson  
1025
 
1026
        * configure.ac: Check for void * as 3 argument of ptrace.
1027
        * configure: regenerate.
1028
 
1029
2008-01-11  Markus Deuling  
1030
 
1031
        * alpha-tdep.c (alpha_heuristic_proc_start)
1032
        (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1033
        current_gdbarch by gdbarch.
1034
 
1035
        (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1036
        current architecture by frame_info. Update alpha_heuristic_proc_start
1037
        call.
1038
 
1039
        (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1040
        get_frame_arch to get at the current architecture by frame_info. Update
1041
        alpha_sigtramp_register_address call.
1042
 
1043
        * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1044
        current_gdbarch by gdbarch. Update caller.
1045
        (convert_to_extended, convert_from_extended): Add endianess parameter
1046
        for comparison. Update caller.
1047
        (arm_extract_return_value, arm_store_return_value): Use
1048
        get_regcache_arch to get at the current architecture.
1049
 
1050
        * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1051
        current_gdbarch by gdbarch. Update caller.
1052
        (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1053
        gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1054
 
1055
        * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1056
        gdbarch as parameter. Update caller.
1057
        (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1058
        current_gdbarch by gdbarch. Update caller.
1059
 
1060
        * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1061
        update caller. Replace current_gdbarch by gdbarch.
1062
 
1063
        * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1064
        the current architecture. Replace current_gdbarch by gdbarch.
1065
        * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1066
        (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1067
        expression. Add gdbarch as parameter and replace current_gdbarch with
1068
        it. Update caller.
1069
        (M6811_TDEP): Remove.
1070
        (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1071
        architecture.
1072
        (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1073
        current_gdbarch by gdbarch. Update caller.
1074
 
1075
        * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1076
        update caller.
1077
        (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1078
        by gdbarch.
1079
 
1080
        * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1081
        caller. Relace current_gdbarch by gdbarch.
1082
        (altivec_register_p, spe_register_p): Likewise.
1083
        * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1084
        parameter.
1085
        * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1086
        altivec_register_p and spe_register_p.
1087
 
1088
        * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1089
        caller. Replace current_gdbarch by gdbarch.
1090
        (score_analyze_prologue): use get_frame_arch to get at the current
1091
        architecture.
1092
 
1093
        * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1094
        * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1095
        current_gdbarch by gdbarch. Update caller.
1096
        (sparc_frame_cache): Use get_frame_arch to get at the current
1097
        architecture.
1098
        * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1099
        sparc_analyze_prologue.
1100
 
1101
        * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1102
        parameter.
1103
 
1104
2008-01-11  Markus Deuling  
1105
 
1106
        * exec.c: #include "arch-utils.h"
1107
         (print_section_info): Use gdbarch_from_bfd to get at the
1108
        current architecture. Replace current_gdbarch. Fix indention. Replace
1109
        deprecated_print_address_numeric by paddress.
1110
        * Makefile.in (exec.o) Add dependency to arch-utils.h.
1111
 
1112
        * valprint.c (val_print_string): Replace
1113
        deprecated_print_address_numeric.
1114
        * tracepoint.c (trace_mention, scope_info): Likewise.
1115
        * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1116
        (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1117
        (maintenance_check_symtabs): Likewise.
1118
        * symfile.c (list_overlays_command): Likewise.
1119
        * stack.c (frame_info, print_block_frame_labels): Likewise.
1120
        * printcmd.c (print_address, print_address_demangle)
1121
        (address_info): Likewise.
1122
        * corefile.c (memory_error): Likewise.
1123
        * infcmd.c (jump_command): Likewise.
1124
        * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1125
        (mention, delete_breakpoint): Likewise.
1126
        * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1127
        * dwarf2read.c (dump_die): Likewise.
1128
        * ada-valprint.c (ada_val_print_1): Likewise.
1129
        * f-valprint.c (f_val_print): Likewise.
1130
        * linux-fork.c (info_forks_command): Likewise.
1131
        * m32r-com.c (m32r_load_section, m32r_load)
1132
        (m32r_upload_command): Likewise.
1133
 
1134
        * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1135
 
1136
2008-01-11  Markus Deuling  
1137
 
1138
        * gdbarch.sh (skip_prologue): Add gdbarch
1139
        as parameter.
1140
        * gdbarch.{c,h}: Regenerate.
1141
 
1142
        * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1143
        * amd64-tdep.c (amd64_skip_prologue): Likewise.
1144
        * avr-tdep.c (avr_skip_prologue): Likewise.
1145
        * cris-tdep.c (cris_skip_prologue): Likewise.
1146
        * frv-tdep.c (frv_skip_prologue): Likewise.
1147
        * h8300-tdep.c (h8300_skip_prologue): Likewise.
1148
        * hppa-tdep.c (hppa_skip_prologue): Likewise.
1149
        * i386-tdep.c (i386_skip_prologue): Likewise.
1150
        * ia64-tdep.c (ia64_skip_prologue): Likewise.
1151
        * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1152
        * m32r-tdep.c (m32r_skip_prologue): Likewise.
1153
        * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1154
        * m68k-tdep.c (m68k_skip_prologue): Likewise.
1155
        * m88k-tdep.c (m88k_skip_prologue): Likewise.
1156
        * mep-tdep.c (mep_skip_prologue): Likewise.
1157
        * mips-tdep.c (mips_skip_prologue): Likewise.
1158
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1159
        * mt-tdep.c (mt_skip_prologue): Likewise.
1160
        * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1161
        * score-tdep.c (score_skip_prologue): Likewise.
1162
        * sh64-tdep.c (sh64_skip_prologue): Likewise.
1163
        * sh-tdep.c (sh_skip_prologue): Likewise.
1164
        * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1165
        * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1166
        * spu-tdep.c (spu_skip_prologue): Likewise.
1167
        * v850-tdep.c (v850_skip_prologue): Likewise.
1168
        * vax-tdep.c (vax_skip_prologue): Likewise.
1169
        * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1170
        * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1171
 
1172
        * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1173
        current_gdbarch by gdbarch.
1174
        * m32c-tdep.c (m32c_skip_prologue): Likewise.
1175
        * s390-tdep.c (s390_skip_prologue): Likewise.
1176
 
1177
2008-01-10  Doug Evans  
1178
 
1179
        * defs.h (struct continuation_arg): Fix typo in comment.
1180
        * target.c (target_translate_tls_address): Fix comment spelling error.
1181
 
1182
2008-01-09  Thiago Jung Bauermann  
1183
 
1184
        * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1185
        (DOUBLEST_SCAN_FORMAT): Likewise.
1186
        * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1187
        * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1188
        * c-exp.y (parse_number): Likewise.
1189
        * jv-exp.y (parse_number): Likewise.
1190
        * objc-exp.y (parse_number): Likewise.
1191
        * p-exp.y (parse_number): Likewise.
1192
 
1193
2008-01-09  Joel Brobecker  
1194
 
1195
        * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1196
        (check_typedef): Likewise.
1197
 
1198
2008-01-09  Luis Machado  
1199
 
1200
        * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1201
        seen_double_big_d, treat the new H, D, and DD modifiers as length
1202
        modifiers.
1203
 
1204
2008-01-08  Joel Brobecker  
1205
 
1206
        * dwarf2read.c (read_enumeration_type): Add comment.
1207
 
1208
2008-01-08  Thiago Jung Bauermann  
1209
 
1210
        * config.in: Regenerate.
1211
 
1212
2008-01-08  Joel Brobecker  
1213
 
1214
        * ada-lang.c (ada_convert_actual): Renames convert_actual.
1215
        Make non-static.
1216
        (ada_convert_actuals): Delete.
1217
        * ada-lang.h (ada_convert_actual): Add declaration.
1218
        (ada_convert_actuals): Remove declaration.
1219
        * infcall.c: #include "ada-lang.h".
1220
        (value_arg_coerce): Add new parameter sp.  Update function
1221
        documetnation.  Add handling of Ada function call parameters.
1222
        * Makefile.in (infcall.o): Update dependencies.
1223
 
1224
2008-01-08  Paul Hilfinger  
1225
 
1226
        * ada-lang.c (ensure_lval): Fix value lval kind.
1227
        (convert_actual): Add handling for arguments passed by reference.
1228
 
1229
2008-01-08  Doug Evans  
1230
 
1231
        * dbxread.c (read_dbx_symtab): Fix indentation.
1232
 
1233
2008-01-07  Thiago Jung Bauermann  
1234
 
1235
        * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1236
        (valarith.o): Depend on dfp.h.
1237
        (valops.o): Likewise.
1238
        * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1239
        (set_decnumber_context): New function.
1240
        (decimal_check_errors): Likewise.
1241
        (decimal_from_number): Likewise.
1242
        (decimal_to_number): Likewise.
1243
        (decimal_from_string): Use set_decnumber_context and
1244
        decimal_check_errors.
1245
        (decimal_from_integral): New function.
1246
        (decimal_from_floating): Likewise.
1247
        (decimal_to_double): Likewise.
1248
        (promote_decimal): Likewise.
1249
        (decimal_binop): Likewise.
1250
        (decimal_is_zero): Likewise.
1251
        (decimal_compare): Likewise.
1252
        (decimal_convert): Likewise.
1253
        * dfp.h (decimal_from_integral): New prototype.
1254
        (decimal_from_floating): Likewise.
1255
        (decimal_to_double): Likewise.
1256
        (decimal_binop): Likewise.
1257
        (decimal_is_zero): Likewise.
1258
        (decimal_compare): Likewise.
1259
        (decimal_convert): Likewise.
1260
        * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1261
        call to value_from_decfloat.
1262
        * valarith.c: Include dfp.h.
1263
        (value_args_as_decimal): New function.
1264
        (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1265
        (value_logical_not): Likewise.
1266
        (value_equal): Likewise.
1267
        (value_less): Likewise.
1268
        (value_pos): Likewise.
1269
        (value_neg): Formatting fix.
1270
        * valops.c: Include dfp.h.
1271
        (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1272
        * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1273
        (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1274
        (value_from_decfloat): Remove expect_type argument.
1275
        * value.h (value_from_decfloat): Update prototype.
1276
 
1277
2008-01-07  Vladimir Prus  
1278
 
1279
        Ignore change in name of dynamic linker during
1280
        execution on Solaris.  This also unbreaks pending breakpoints.
1281
 
1282
        * solist.h (struct target_so_ops): New field same.
1283
        * solib-svr4.c (svr4_same): New.
1284
        (_initialize_svr4_solib): Register svr4_same.
1285
        * solib.c (update_solib_list): Use ops->same, if available.
1286
 
1287
2008-01-06  Christopher Faylor  
1288
 
1289
        * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1290
        when using MS-DOS paths.
1291
 
1292
2008-01-05  Pedro Alves  
1293
 
1294
        * NEWS: Mention --pid and --core command line behaviour changes.
1295
 
1296
2008-01-05  Pedro Alves  
1297
 
1298
        * main.c (captured_main): Remove 'count' varible and the
1299
        ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
1300
        --pid options were issued simultaneously.  If an explicit pid
1301
        option was passed, don't fallback to core file.  Detect extra
1302
        arguments better in the presence of explicit pid or core
1303
        arguments.
1304
 
1305
2008-01-05  Joel Brobecker  
1306
 
1307
        * ada-lang.c (ada_which_variant_applies): Correctly compute
1308
        the value of the discriminant when the variant record is packed.
1309
 
1310
2008-01-04  Joel Brobecker  
1311
 
1312
        * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1313
        that are used to differentiate homonyms.
1314
 
1315
2008-01-04  Jerome Guitton  
1316
 
1317
        * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1318
        when the type is an anonymous pointer type.
1319
        (ada_check_typedef): Avoid a seg fault when the type is null.
1320
        * ada-typeprint.c (print_array_type): Add support for pointer
1321
        to packed arrays.
1322
 
1323
2008-01-04  Paul N. Hilfinger  
1324
 
1325
        * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1326
 
1327
2008-01-04  Joel Brobecker  
1328
 
1329
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1330
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1331
 
1332
2008-01-04  Joel Brobecker  
1333
 
1334
        * ada-exp.y (chop_separator): New function.
1335
        (write_selectors): Rewrite to re-use chop_separator.
1336
        (ada_nget_field_index, get_symbol_field_type): New functions.
1337
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1338
        expressions.
1339
 
1340
2008-01-03  Thiago Jung Bauermann  
1341
 
1342
        * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1343
        of SYMBOL_VALUE when working with function symbols.
1344
 
1345
2008-01-03  Joel Brobecker  
1346
 
1347
        * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1348
        expressions.  These expressions do not need to be rewriten.
1349
 
1350
2008-01-03  Joel Brobecker  
1351
 
1352
        * dwarf2read.c (read_enumeration_type): Flag type as stub if
1353
        the given die is a declaration.
1354
 
1355
2008-01-03  Joel Brobecker  
1356
 
1357
        * ada-lang.c (ada_array_bound_from_type): Make non-static.
1358
        Handle properly the case when the index type is an enumerated type.
1359
        Do not return the subtype of the bounds type, just return the
1360
        bounds type directly - this is not needed and is more consistent
1361
        with what we do for arrays when no XA parallel type exists.
1362
 
1363
2008-01-03  Joel Brobecker  
1364
 
1365
        * ada-lang.c (static_unwrap_type): Add forward declaration.
1366
        (template_to_static_fixed_type): Fields of dynamic types sometimes
1367
        also need to be unwrapped. Take this into account.
1368
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1369
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1370
        * ada-typeprint.c (ada_print_type): Get the typename from
1371
        the original type, not the base type.
1372
 
1373
2008-01-03  Jerome Guitton  
1374
 
1375
        * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1376
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1377
        Update calls to ada_to_fixed_type.
1378
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
1379
        for the tag.
1380
        (ada_to_fixed_type): Add check_tag parameter; do not look for
1381
        tag if null.  When looking for a tag, use a fixed record type.
1382
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1383
        * ada-valprint.c (printable_val_type, ada_value_print): Update
1384
        calls to ada_to_fixed_type.
1385
 
1386
2008-01-03  Luis Machado  
1387
 
1388
        * doublest.c (convert_floatformat_to_doublest): Call
1389
        floatformat_to_doublest instead of floatformat_to_double and use
1390
        DOUBLEST variables.
1391
        (convert_doublest_to_floatformat): Call floatformat_from_doublest
1392
        instead of floatformat_from_double and use DOUBLEST variables.
1393
 
1394
2008-01-03  Nick Hudson  
1395
 
1396
        * MAINTAINERS (Write After Approval): Add self.
1397
 
1398
2008-01-03  Joel Brobecker  
1399
 
1400
        * symfile.c (set_initial_language): Make non-static.
1401
        * symfile.h (set_initial_language): Add declaration.
1402
        * language.c: #include "symfile.h".
1403
        (set_language): Call set_initial_language if the frame language
1404
        could not be determined.
1405
 
1406
2008-01-03  Paul N. Hilfinger  
1407
 
1408
        * eval.c (evaluate_subexp_for_address): Provide frame address to
1409
        locate_var_value only if it will be needed.
1410
 
1411
2008-01-02  Jan Kratochvil  
1412
 
1413
        * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1414
 
1415
2008-01-02  Joel Brobecker  
1416
 
1417
        * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1418
        when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1419
        This is needed to make sure that any other treatment applied
1420
        to the resulting value does not fail for spurious reason,
1421
        such as trying to take the address of this value.
1422
 
1423
2008-01-02  Joel Brobecker  
1424
 
1425
        * ada-lang.c (ada_value_equal): Dereference reference types when
1426
        comparing arrays.
1427
 
1428
2008-01-01  Daniel Jacobowitz  
1429
 
1430
        Updated copyright notices for most files.
1431
 
1432
2008-01-01  Christopher Faylor  
1433
 
1434
        * win32-nat.c (psapi_module_handle): Remove static.
1435
        (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
1436
        return first module found if base_address is zero.  Don't initialize
1437
        psapi function pointers here.  Convert to cygwin paths when
1438
        appropriate.
1439
        (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1440
        executable name.  Use get_module_name when that fails or when
1441
        !__CYGWIN__.
1442
        (_initialize_psapi): New function.  Initialize psapi stuff before it is
1443
        needed or issue a warning if it is not found.  Move psapi_module_handle
1444
        here.
1445
 
1446
2008-01-01  Joel Brobecker  
1447
 
1448
        * ada-lang.c (ada_remove_trailing_digits): New function.
1449
        (ada_remove_po_subprogram_suffix): New function.
1450
        (ada_decode): Improve. Move the description of the algorithm
1451
        directly inside the code, instead of in the function global
1452
        description.
1453
 
1454
2008-01-01  Joel Brobecker  
1455
 
1456
        * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1457
        and always print the dereferenced value.
1458
 
1459
2008-01-01  Joel Brobecker  
1460
 
1461
        * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1462
        of the case where the first argument is a reference.
1463
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1464
 
1465
2008-01-01  Joel Brobecker  
1466
 
1467
        Implement support for Ada interface types.
1468
 
1469
        * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1470
        (ada_is_ignored_field): Ignore fields that are a dispatch table
1471
        of a tagged type.
1472
 
1473
2008-01-01  Joel Brobecker  
1474
 
1475
        * top.c (print_gdb_version): Update copyright year.
1476
 
1477
2008-01-01  Joel Brobecker  
1478
 
1479
        * ChangeLog-2007: New ChangeLog rotation.
1480
        * ChangeLog: Reset for 2008.
1481
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1482
        ChangeLog-2007.
1483
 
1484
For older changes see ChangeLog-2007.
1485
 
1486
Local Variables:
1487
mode: change-log
1488
left-margin: 8
1489
fill-column: 74
1490
version-control: never
1491
coding: utf-8
1492
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.